How to use monsterapi/llama2_SQL_Answers_finetuned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "monsterapi/llama2_SQL_Answers_finetuned")
Hi is the model also able to directly modify query based on a requirement?:e.gadd a left join with three on field trunk on the following query:select *from leaf
· Sign up or log in to comment