Errore: 'LlamaForCausalLM' object has no attribute 'max_seq_length'
hi guys, i have a problem.
I finetuned llama 3.2 with unsloth, but at the end i would like to do a comparison between my finetuned model and a different model, but it comes always with this error.
in details i'm trying to upload medalpaca
model = AutoModelForCausalLM.from_pretrained(
"medalpaca/medalpaca-7b",
trust_remote_code=True,
device_map='auto',
torch_dtype=torch.float16
)