How to use Teddy487/LLaMA2-7b-for-OpenIE with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("../lms/llama2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "Teddy487/LLaMA2-7b-for-OpenIE")
The community tab is the place to discuss and collaborate with the HF community!