Closed SchahinRohani closed 2 years ago
What version of Transformers.jl are you using?
Just checked the Version and updated some dependencies, but still not working.
(@v1.7) pkg> status Transformers
Status ~/.julia/environments/v1.7/Project.toml
[21ca0261] Transformers v0.1.16
You seems to be using v0.1.16 and would need v.0.1.21 to get that work. Try pkg> add Transformers@v0.1.21
and see if anything is blocking the update.
Solved, thank you for the fast response!
Hello, tried to run the new GPT2_TextGeneration Example and getting an error:
ERROR: LoadError: tokenizer not support yet. Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] load_hgf_pretrained(name::String) @ Transformers.HuggingFace ~/.julia/packages/Transformers/jtjKq/src/huggingface/HuggingFace.jl:58 [3] top-level scope @ ~/Projects/Julia/Transformers/example/GPT2_TextGeneration/text_generation.jl:10
Seems like the new implemented gpt2 tokenizer doesnt get recognized.
How to get the Example working?