How to use Kal1510/LLMRecoveryLLama with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/kaggle/input/llama-2/pytorch/7b-chat-hf/1") model = PeftModel.from_pretrained(base_model, "Kal1510/LLMRecoveryLLama")
The community tab is the place to discuss and collaborate with the HF community!