Closed frankdarkluo closed 7 months ago
hi @frankdarkluo, It seems that the implementation of LLaMA in Transformers has been updated. Could you degrade the transformers version to "transformers==4.32.1"? We are finding solutions to be compatible with the new version.
I met this same error.
I met this same error.
@qiuhaolu have you tried to downgrade the transformers to 4.32.1?
I met this same error.
@qiuhaolu have you tried to downgrade the transformers to 4.32.1?
Yes it works now. Thank you.
When I am using the modeling_llama.py in your code. I run into the issue:
My transformer version is updated to 4.37.1.
In addition, I wonder if huggingface has a wrapped version of your "UnmaskingLlamaForSequenceClassification" and "UnmaskingLlamaForTokenClassification"?