How to use ManeAI31416/SQL_agent with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "ManeAI31416/SQL_agent")
7b3df0a
1
2
3
4
5
6
7
8
9
10
{ "</s>": 2, "<s>": 1, "<unk>": 0, "▁<EOT>": 32010, "▁<MID>": 32009, "▁<PRE>": 32007, "▁<SUF>": 32008 }