Open m9e opened 1 month ago
I should add, I submitted here because I think the root cause is, as you can see in the errors:
ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub' (/home/matt/nvme/code/hftest/venv/lib/python3.10/site-packages/huggingface_hub/__init__.py)
Hi @m9e 👋
I've tried to reproduce the issue using the same versions of transformers==4.44.2
and huggingface_hub==0.25.1
, but I was not able to replicate the error. I suspect it may be related to package compatibility or maybe installation issues rather than a bug in the code itself.
You can try creating a new virtual env and then upgrade to the latest versions
pip install -U transformers huggingface_hub
Describe the bug
Trying to load LlamaTokenizerFast in code like this:
Results in this:
Reproduction
I've played with a bunch of downgrades here trying to do hf hub <0.25 or transformers <4.44 but I get the same result on all of them.
First batch was OSX, identical result on Ubuntu 22.04 LTS+python 3.10.12:
Logs
No response
System info