Downloads · 30 days
0
Samuel11111997/llama3-finetuned-alpaca
llama3-finetuned-alpaca is a text generation model from Samuel11111997. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Modelo Llama 3.2 1B entrenado con Unsloth y adaptadores LoRA (r=8) sobre 500 ejemplos del dataset alpaca-cleaned.
Downloads · 30 days
0
Access
Public
Updated May 1, 2026
Repo size
39.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors22.6 MB · 57%
From the Hugging Face model README
Modelo Llama 3.2 1B entrenado con Unsloth y adaptadores LoRA (r=8) sobre 500 ejemplos del dataset alpaca-cleaned.
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
"Samuel11111997/llama3-finetuned-alpaca",
max_seq_length=512,
load_in_4bit=True,
)
# Generar texto
inputs = tokenizer("### Instruction:\nExplica qué es el fine‑tuning\n\n### Response:\n", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Entorno: Google Colab (Tesla T4)
Épocas: 3
Learning rate: 2e‑4
Pérdida final: 1.13
Hardware: Tesla T4
Tiempo: ~3 min/época
Repositorio ai-mastery: https://github.com/spl248/ai-mastery/
Artículo técnico: https://medium.com/@spulido248/fine-tuning-de-llama-3-2-con-unsloth-el-siguiente-nivel-de-la-especializaci%C3%B3n-en-ia-9c909337c8e6
Vídeo demo: Al finalizar este video.
Apache 2.0