How to use Naveengo/gpt2-medium-on-sql-create-context with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2-medium") model = PeftModel.from_pretrained(base_model, "Naveengo/gpt2-medium-on-sql-create-context")
The community tab is the place to discuss and collaborate with the HF community!