fix AssertionError: First token is not <cls> token value in extract_and_plot_cell_embeddings.ipynb

#541
by jackkuo - opened
No description provided.

Thanks to ctheodoris for his code contribution and sharing. I also encountered this problem [ https://huggingface.co/ctheodoris/Geneformer/discussions/535#68304d027eb386f105b6ce1c ] when running the code below the examples, and ctheodoris gave a solution, so I fixed this problem in the specific code.

jackkuo changed pull request status to open

Thank you for sharing this pull request. When using the current model, “cls” should be the default, so to avoid confusion it may be best to leave the example as is. We are in the middle of revamping the tutorials though and will keep this suggestion in mind to add clarity for the different models.

ctheodoris changed pull request status to closed

Sign up or log in to comment