How to use version-control/tf-2.2-2.7-codegen-2B-multi-prefix with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-2B-multi") model = PeftModel.from_pretrained(base_model, "version-control/tf-2.2-2.7-codegen-2B-multi-prefix")
The community tab is the place to discuss and collaborate with the HF community!