KeyError: 'mixtral'
Traceback (most recent call last):
File "", line 1, in
File "/home/azureuser/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/azureuser/.local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1064, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]
File "/home/azureuser/.local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 761, in getitem
raise KeyError(key)
KeyError: 'mixtral'
I got the same problem, looking forward to the solution
I got it , you need to update your transformers version to the latest, then it will work!
I got the same error but I solved it with
pip install -U transformers
huggingface-hub-0.20.1 tokenizers-0.15.0 transformers-4.36.2
I'm using Pinokio with oobabooga: how do I update Transformers?
as stated by
@basyouni12
, you can update transformers by runningpip install -U transformers
in your terminal