You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
You can now get the embedding from the CLS token using the new TransformerDocumentEmbeddings class (see #1494). It's part of master branch now and will be in the next Flair release.
Hello,
I would like to access the embedding that corresponds to the [CLS] token. This is my code, by the way.
However, when I try to access the BERT-embedded text, [CLS] is not included there. This is the output:
May I know how to I access/show the [CLS] token? Thanks!
The text was updated successfully, but these errors were encountered: