How to use akshaybharadwaj96/nl-code-gen-python 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, "akshaybharadwaj96/nl-code-gen-python")
The community tab is the place to discuss and collaborate with the HF community!