How to use sarthak247/codellama-7b-humaneval-java-fim with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/hpcfs/users/a1232991/Sarthak/CodeLLaMA/models/CodeLlama-7b-hf/") model = PeftModel.from_pretrained(base_model, "sarthak247/codellama-7b-humaneval-java-fim")
The community tab is the place to discuss and collaborate with the HF community!