Downloads · 30 days
0
Sasmita03/lora-samsum-summarizer
lora-samsum-summarizer is a machine learning model from Sasmita03. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Flan-T5-base fine-tuned with LoRA on the SAMSum dataset (dialogue → summary).
Downloads · 30 days
0
Access
Public
Updated Sep 19, 2026
Repo size
3.6 MB
Likes
1
Public
Click a slice to open those files.
.safetensors3.6 MB · 59%
From the Hugging Face model README
Flan-T5-base fine-tuned with LoRA on the SAMSum dataset (dialogue → summary).
Evaluated on 100 held-out validation examples, ROUGE F1 vs. the untrained base model:
| Metric | Base model | Fine-tuned | Difference |
|---|---|---|---|
| ROUGE-1 | 0.4406 | 0.4749 | +0.0343 |
| ROUGE-2 | 0.2147 | 0.2237 | +0.0090 |
| ROUGE-L | 0.3705 | 0.3887 | +0.0182 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base")
model = PeftModel.from_pretrained(base_model, "Sasmita03/lora-samsum-summarizer")
tokenizer = AutoTokenizer.from_pretrained("Sasmita03/lora-samsum-summarizer")