timdettmers/openassistant-guanaco
Viewer • Updated • 10.4k • 7.26k • 441
How to use arhamk/llama2-qlora-sft with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded")
model = PeftModel.from_pretrained(base_model, "arhamk/llama2-qlora-sft")How to use arhamk/llama2-qlora-sft with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("arhamk/llama2-qlora-sft", dtype="auto")This model is a fine-tuned model based on the "TinyPixel/Llama-2-7B-bf16-sharded" model and "timdettmers/openassistant-guanaco" dataset. It is optimized for causal language modeling tasks with specific quantization configurations. The model is trained using the PEFT framework and leverages the bitsandbytes quantization method.
The following bitsandbytes quantization config was used during training:
The model was trained using PEFT version 0.6.0.dev0.
Base model
TinyPixel/Llama-2-7B-bf16-sharded