timdettmers/openassistant-guanaco
Viewer • Updated • 10.4k • 13.2k • 447
Run arhamk/llama2-qlora-sft on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/arhamk/llama2-qlora-sft. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/arhamk/llama2-qlora-sft on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("arhamk/llama2-qlora-sft", device_map="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