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
I train/fine-tune the Mistral-24B small model (mistralai/Mistral-Small-24B-Instruct-2501) using deepspeed and accelerate
and I saved the model using following commands:
if accelerator.is_main_process:
model =accelerator.unwrap_model(trainer.model)
model.save_pretrained(model_path)
tokenizer.save_pretrained(model_path)
However when I try to load the model using AutoModelForCausalLM.from_pretrained(model_path)
I got weight mismatch size error.