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
The output is [12882]. However, taking a look at the vocabulary used for training (here), I cannot find the token \u200b and the token id corresponds to a different string
"\u00e2\u0122\u012d": 12882,
This seems to generally happen with unicode characters.
Why could this be happening?? I just want to make sure that the tokenizer I use for training is equivalent to the HF tokenizers since my training (as anticipated in your README) results in a weird tokenizer.
Thanks a lot :)
The text was updated successfully, but these errors were encountered:
I don't know exactly what's going on here yet, but I can confirm this file at utils/20B_tokenizer.json is precisely the one used for vocab_file during Pythia training.
also the following snippet shows the result upon loading the two tokenizers and encoding \u200b:
Hello everyone!
I found a weird inconsistency in the tokenizer vocabulary. I wanted to ask why this could be happening.
I have loaded a tokenizer from HF:
If I run
The output is
[12882]
. However, taking a look at the vocabulary used for training (here), I cannot find the token\u200b
and the token id corresponds to a different stringThis seems to generally happen with unicode characters.
Why could this be happening?? I just want to make sure that the tokenizer I use for training is equivalent to the HF tokenizers since my training (as anticipated in your README) results in a weird tokenizer.
Thanks a lot :)
The text was updated successfully, but these errors were encountered: