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
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
When running this snippet:
from transformers import OpenLlamaForCausalLM
model = OpenLlamaForCausalLM.from_pretrained("openlm-research/open_llama_7b")
I get the following error:
You are using a model of type llama to instantiate a model of type open-llama. This is not supported for all configurations of models and can yield errors.
...
AttributeError: 'OpenLlamaAttention' object has no attribute 'rope_theta'
It's a pity that the "Run the model" section has not been written for this model, with a snippet explaining how to use it. Must the weights be downloaded from the Meta repo?
System Info
transformers
version: 4.38.2Who can help?
@ArthurZucker @younesbel
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
When running this snippet:
I get the following error:
Expected behavior
The code snippet has been taken from the documentation (https://huggingface.co/docs/transformers/model_doc/open-llama), it is expected to work.
The text was updated successfully, but these errors were encountered: