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
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
Cell In[88], line 1
----> 1 tokenizer = Tokenizer.from_file("tokenizer.json")
Exception: data did not match any variant of untagged enum ModelWrapper at line 382 column 3
Version: tokenizers==0.13.3
The text was updated successfully, but these errors were encountered:
Here is the reproducible script:
Works fine if I use trained tokenizer directly (not loading from the file)
Output:
['es', 'p', 'ec', 'i', 'all', 'y ', ' ', ' ', ' ', ' ', ' ', ' a', 'gainst ', 'Caius Marc', 'i', 'us', '?\n\nAll:\n', 'A', 'gain', 'st']
But loading the tokenizer from the file fails.
Version:
tokenizers==0.13.3
The text was updated successfully, but these errors were encountered: