defunct-datasets/amazon_reviews_multi
Updated • 4.64k • 102
How to use NICFRU/t5-large-finetuned-amazon-test_2 with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "summarization" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline
pipe = pipeline("summarization", model="NICFRU/t5-large-finetuned-amazon-test_2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("NICFRU/t5-large-finetuned-amazon-test_2")
model = AutoModelForSeq2SeqLM.from_pretrained("NICFRU/t5-large-finetuned-amazon-test_2")This model is a fine-tuned version of t5-large on the amazon_reviews_multi dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| 1.7536 | 1.0 | 1314 | 2.6889 | 15.4715 | 7.1041 | 15.012 | 15.0539 |
| 1.9856 | 2.0 | 2628 | 2.5947 | 15.5517 | 7.607 | 15.2437 | 15.1322 |
| 1.7233 | 3.0 | 3942 | 2.7304 | 16.8701 | 7.3701 | 16.6526 | 16.4333 |
| 1.5162 | 4.0 | 5256 | 2.8605 | 16.278 | 6.2082 | 16.114 | 16.0542 |
| 1.3537 | 5.0 | 6570 | 2.9747 | 15.8483 | 5.8158 | 15.5124 | 15.4393 |
| 1.2302 | 6.0 | 7884 | 3.1345 | 15.6894 | 5.516 | 15.5049 | 15.2841 |
| 1.141 | 7.0 | 9198 | 3.2224 | 15.7304 | 6.131 | 15.7835 | 15.5706 |
| 1.0733 | 8.0 | 10512 | 3.3001 | 15.7824 | 5.363 | 15.6395 | 15.4975 |