How to use MuhammedYahia/CodeGen2_1B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-1B") model = PeftModel.from_pretrained(base_model, "MuhammedYahia/CodeGen2_1B")
The community tab is the place to discuss and collaborate with the HF community!