mlabonne/open-perfectblend
Viewer • Updated • 1.42M • 1.04k • 72
How to use utkmst/chimera-alpha-test1 with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
model = PeftModel.from_pretrained(base_model, "utkmst/chimera-alpha-test1")This model is a fine-tuned version of meta-llama/Llama-2-7b-chat-hf using PEFT (Parameter-Efficient Fine-Tuning) with LoRA (Low-Rank Adaptation). It is designed for conversational purposes and can be used as a chatbot.
Repository: https://huggingface.co/utkmst/chimera-alpha-test1
PEFT 0.14.0
Base model
meta-llama/Llama-2-7b-chat-hf
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "utkmst/chimera-alpha-test1")