ValueError: Unrecognized model in ./trained_model. Should have a `model_type` key in its config.json

Hmm, transformers seems the most suspicious…

pip install -U transformers accelerate peft huggingface_hub
2 Likes