Getting an error when using the model
Hello,
Everytime I try to use the model I get an error. Here is the code and error below:
Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="core42/jais-30b-chat-v3", trust_remote_code=True)
Traceback (most recent call last):
File "main.py", line 4, in
pipe = pipeline("text-generation", model="core42/jais-30b-chat-v3", trust_remote_code=True)
File "lib\site-packages\transformers\pipelines_init_.py", line 454, in pipeline
config = AutoConfig.from_pretrained(model, revision=revision, _from_pipeline=task, **model_kwargs)
File "lib\site-packages\transformers\models\auto\configuration_auto.py", line 560, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]
File "lib\site-packages\transformers\models\auto\configuration_auto.py", line 301, in getitem
raise KeyError(key)
KeyError: 'jais'