vicgalle/alpaca-gpt4
Viewer • Updated • 52k • 4.44k • 326
How to use sujeetgund/llama_3_lora_model with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("sujeetgund/llama_3_lora_model", device_map="auto")This model is a fine-tuned version of unsloth/llama-3-8b-bnb-4bit using the vicgalle/alpaca-gpt4 dataset.
This model was trained using Unsloth and Hugging Face's TRL library on a Google Colab Tesla T4 instance.
You can load this model using unsloth for 2x faster inference:
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "sujeetgund/llama_3_lora_model",
max_seq_length = 1024,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
Fine-tuned with Unsloth. Unsloth makes fine-tuning Llama-3, Mistral, and Gemma models 2x faster and use 70% less memory.
Base model
meta-llama/Meta-Llama-3-8B