How to use adalib/sqlmodel-cond-gen-codegen-350M-mono-prefix-5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-350M-mono") model = PeftModel.from_pretrained(base_model, "adalib/sqlmodel-cond-gen-codegen-350M-mono-prefix-5")
The community tab is the place to discuss and collaborate with the HF community!