Text-to-Text Transfer Transformer Quantized Model for Text Summarization
This repository hosts a quantized version of the T5 model, fine-tuned for text summarization tasks. The model has been optimized for efficient deployment while maintaining high accuracy, making it suitable for resource-constrained environments.
After fine-tuning the
T5-Small
model for text summarization, we obtained the following
ROUGE
scores:
Metric
Score
Meaning
ROUGE-1
0.3061
(~30%)
Measures overlap of
unigrams (single words)
between the reference and generated summary.
ROUGE-2
0.1241
(~12%)
Measures overlap of
bigrams (two-word phrases)
, indicating coherence and fluency.
ROUGE-L
0.2233
(~22%)
Measures
longest matching word sequences
, testing sentence structure preservation.
ROUGE-Lsum
0.2620
(~26%)
Similar to ROUGE-L but optimized for summarization tasks.
Fine-Tuning Details
Dataset
The Hugging Face's
cnn_dailymail
dataset was used, containing the text and their summarization examples.
Training
Number of epochs: 3
Batch size: 4
Evaluation strategy: epoch
Learning rate: 3e-5
Quantization
Post-training quantization was applied using PyTorch's built-in quantization framework to reduce the model size and improve inference efficiency.
Repository Structure
.
├── model/ # Contains the quantized model files
├── tokenizer_config/ # Tokenizer configuration and vocabulary files
├── model.safetensors/ # Quantized Model
├── README.md # Model documentation
Limitations
The model may not generalize well to domains outside the fine-tuning dataset.
Quantization may result in minor accuracy degradation compared to full-precision models.
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request if you have suggestions or improvements.
Runs of AventIQ-AI t5-text-summarizer on huggingface.co
7
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
3
30-day runs
More Information About t5-text-summarizer huggingface.co Model
t5-text-summarizer huggingface.co
t5-text-summarizer huggingface.co is an AI model on huggingface.co that provides t5-text-summarizer's model effect (), which can be used instantly with this AventIQ-AI t5-text-summarizer model. huggingface.co supports a free trial of the t5-text-summarizer model, and also provides paid use of the t5-text-summarizer. Support call t5-text-summarizer model through api, including Node.js, Python, http.
t5-text-summarizer huggingface.co is an online trial and call api platform, which integrates t5-text-summarizer's modeling effects, including api services, and provides a free online trial of t5-text-summarizer, you can try t5-text-summarizer online for free by clicking the link below.
AventIQ-AI t5-text-summarizer online free url in huggingface.co:
t5-text-summarizer is an open source model from GitHub that offers a free installation service, and any user can find t5-text-summarizer on GitHub to install. At the same time, huggingface.co provides the effect of t5-text-summarizer install, users can directly use t5-text-summarizer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.