Skip to content

No alignment for [UNK] tokens #12023

Discussion options

You must be logged in to vote

I think it's that spacy-alignments doesn't align the string [UNK] to the string 🚀.

If you are feeling adventurous, you can try installing spacy-transformers from master (should currently be v1.2.0.dev0), which has been updated to use the alignments directly from fast tokenizers instead of the alignments from spacy-alignments. (spacy-alignments is still used for slow tokenizers.)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by KennethEnevoldsen
Comment options

You must be logged in to vote
1 reply
@thomashacker
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / transformer Feature: Transformer
4 participants