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
I need help.
When using model = "Salesforce/xgen-7b-4k-base" or model = "Salesforce/xgen-7b-8k-base"
/usr/local/lib/python3.10/dist-packages/transformers/models/auto/tokenization_auto.py in from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs)
687 tokenizer_class = tokenizer_class_from_name(tokenizer_class_candidate)
688 if tokenizer_class is None:
--> 689 raise ValueError(
690 f"Tokenizer class {tokenizer_class_candidate} does not exist or is not currently imported."
691 )
ValueError: Tokenizer class XgenTokenizer does not exist or is not currently imported.
I need help.
When using model = "Salesforce/xgen-7b-4k-base" or model = "Salesforce/xgen-7b-8k-base"
/usr/local/lib/python3.10/dist-packages/transformers/models/auto/tokenization_auto.py in from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs)
687 tokenizer_class = tokenizer_class_from_name(tokenizer_class_candidate)
688 if tokenizer_class is None:
--> 689 raise ValueError(
690 f"Tokenizer class {tokenizer_class_candidate} does not exist or is not currently imported."
691 )
ValueError: Tokenizer class XgenTokenizer does not exist or is not currently imported.
I have this issue locally or in googla colab.
I import these :
!pip install git+https://www.github.com/huggingface/transformers
!pip install git+https://github.com/huggingface/accelerate
!pip install bitsandbytes
!pip install tiktoken
The text was updated successfully, but these errors were encountered: