Downloads · 30 days
8
50% of all-time downloads
yakshithk/t5-small-baseline
t5-small-baseline is a machine learning model from yakshithk. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of google/t5-small trained on a custom text-to-text dataset (derived from cleaned news articles). The objective was to build a baseline encoder-decoder model that can transform raw a…
Downloads · 30 days
8
50% of all-time downloads
All-time downloads
16
Public
Parameters
60.5M
5.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors242 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/t5-small trained on a custom text-to-text dataset (derived from cleaned news articles).
The objective was to build a baseline encoder-decoder model that can transform raw article text into simplified outputs (summaries / cleaned text).
text2text-generation)The model was fine-tuned on a custom dataset of news articles scraped and cleaned in [Week 1’s pipeline](link to repo).
👉 Future versions will be trained on larger, more diverse datasets.
5e-05882adamw_torch_fused20| Epoch | Validation Loss |
|---|---|
| 1 | 9.7087 |
| 5 | 4.3784 |
| 10 | 2.3668 |
| 15 | 1.9624 |
| 20 | 1.8684 |
t5-small.from transformers import pipeline
model = "yakshithk/t5-small-baseline"
summarizer = pipeline("text2text-generation", model=model)
input_text = "The quick brown fox jumped over the lazy dog."
output = summarizer(input_text, max_length=50, do_sample=False)
print(output[0]["generated_text"])
flan-t5-base, flan-t5-large)If you use this model in your research or project:
@misc{yakshithk_t5small_baseline,
author = {Yakshith K},
title = {t5-small-baseline: Fine-tuned T5-small on custom dataset},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/yakshithk/t5-small-baseline}},
}