Downloads · 30 days
14
4% of all-time downloads
ashaduzzaman/mt5-finetuned-amazon-reviews
mt5-finetuned-amazon-reviews is a summarization model from ashaduzzaman. Use it when you need a shorter version of a longer text. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
14
4% of all-time downloads
All-time downloads
340
Public
Parameters
300M
3.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 98%
From the Hugging Face model README
Here's a detailed model card for the mt5-finetuned-amazon-reviews model, incorporating the provided information and adding relevant details:
This model is a fine-tuned version of google/mt5-small specifically trained to generate summaries of Amazon product reviews. It is designed to handle multilingual text summarization tasks, leveraging the capabilities of the mT5 (Multilingual T5) model.
The mt5-finetuned-amazon-reviews model utilizes the mT5 architecture, a variant of T5 that is pre-trained on a diverse multilingual dataset. This fine-tuned model targets the summarization of customer reviews on Amazon products, aiming to distill lengthy reviews into concise and informative summaries. It is optimized for multilingual settings, enabling it to handle reviews written in various languages.
Intended Uses:
Limitations:
To use the model for summarization, you can utilize the following code snippet:
from transformers import pipeline
hub_model_id = "ashaduzzaman/mt5-finetuned-amazon-reviews"
summarizer = pipeline("summarization", model=hub_model_id)
text = (
"Nothing special at all about this product... the book is too small and stiff and hard to write in. "
"The huge sticker on the back doesn’t come off and looks super tacky. I would not purchase this again. "
"I could have just bought a journal from the dollar store and it would be basically the same thing. "
"It’s also really expensive for what it is."
)
summarizer(text)
The specific dataset used for fine-tuning this model is not provided, but it is implied to be related to Amazon product reviews. The absence of detailed information about the training dataset limits the understanding of the model's training scope and diversity.
The model was evaluated using standard text summarization metrics, but the results indicate challenges in its performance:
These scores suggest that the model may have struggled to produce meaningful summaries or that the evaluation dataset was not aligned well with the training data. The zero ROUGE scores highlight a need for further investigation into the training process and data quality.
The model was fine-tuned using the following hyperparameters and configuration:
| Training Loss | Epoch | Step | Validation Loss | ROUGE-1 | ROUGE-2 | ROUGE-L | ROUGE-Lsum |
|---|---|---|---|---|---|---|---|
| 18.4463 | 1.0 | 379 | 8.5447 | 0.3663 | 0.0 | 0.3663 | 0.3663 |
| 9.359 | 2.0 | 758 | 5.0674 | 0.0 | 0.0 | 0.0 | 0.0 |
| 6.6153 | 3.0 | 1137 | 4.2617 | 0.0 | 0.0 | 0.0 | 0.0 |