How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="delayedkarma/llama2-finetune-alpaca-unsloth-minimal")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("delayedkarma/llama2-finetune-alpaca-unsloth-minimal")
model = AutoModelForCausalLM.from_pretrained("delayedkarma/llama2-finetune-alpaca-unsloth-minimal", device_map="auto")
Quick Links

Uploaded model

A fine-tuned version of llama2 7b using the alpaca-cleaned dataset, and utilizing Unsloth.

  • Developed by: delayedkarma
  • License: apache-2.0
  • Finetuned from model : unsloth/llama-2-7b-bnb-4bit

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
14
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for delayedkarma/llama2-finetune-alpaca-unsloth-minimal

Finetuned
(192)
this model