theblackcat102/evol-codealpaca-v1
Viewer • Updated • 111k • 10.6k • 183
How to use LeanAI/llama-2-7b-CH1-cav1-3 with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Trelis/Llama-2-7b-chat-hf-sharded-bf16")
model = PeftModel.from_pretrained(base_model, "LeanAI/llama-2-7b-CH1-cav1-3")Developed by: LeanAI
Model type: text-generation
Finetuned from model: Trelis/Llama-2-7b-chat-hf-sharded-bf16
Model Sources: Llama-2-7b
Llama 2 license
This model is bound by the license & usage restrictions of the original Llama-2 model. And comes with no warranty or gurantees of any kind.
The dataset used for training this model: theblackcat102/evol-codealpaca-v1
The following bitsandbytes quantization config was used during training: