How to use therem/gpt_imdb_hinge_beta1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("lvwerra/gpt2-imdb") model = PeftModel.from_pretrained(base_model, "therem/gpt_imdb_hinge_beta1")
The community tab is the place to discuss and collaborate with the HF community!