How to use nmitchko/i2b2-querybuilder-codellama-34b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/media/nmitchko/NVME/text-generation-webui/models/codellama_CodeLlama-34b-hf") model = PeftModel.from_pretrained(base_model, "nmitchko/i2b2-querybuilder-codellama-34b")
The community tab is the place to discuss and collaborate with the HF community!