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
Hey @humanely, thanks for the issue! That is expected behaviour AFAIK - Model and Tokenizer objects are different and saved independently. If you didn't change the vocabulary, you can reuse preexisting tokenizers. If you changed it, you can save it to the same path you saved your model, and load from that. It should have
System Info
accelerate==0.29.3
torch==2.2.1
transformers @ git+https://github.com/huggingface/transformers@ec92f983af5295fc92414a37b988d8384785988a
MACOS 14.4.1
Who can help?
I trained a ClipModel, but I am not able to CLIPTokenizer import from it.
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
The text was updated successfully, but these errors were encountered: