How to use haritzpuerto/LLaMA2-7B-dcot with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/storage/ukp/shared/shared_model_weights/models--llama-2-hf/7B") model = PeftModel.from_pretrained(base_model, "haritzpuerto/LLaMA2-7B-dcot")
The community tab is the place to discuss and collaborate with the HF community!