CodeLlamaTokenizer does not exist
#13
by
saksham-lamini
- opened
Getting this error when I try to load the model using HuggingFace:
ValueError: Tokenizer class CodeLlamaTokenizer does not exist or is not currently imported.
You need to use the transformers from mainline and import it, but anyway I used LlamaTokenizer instead (because the other one complains about naming) and it worked just fine :)
the fix is to uninstall tokenizers, transformers, and accelerate. then rerun pip install git+https://github.com/huggingface/transformers.git@main accelerate
I think there is an active issue being discussed here: https://github.com/huggingface/transformers/issues/22222
osanseviero
changed discussion status to
closed