defunct-datasets/amazon_reviews_multi
Updated • 4.48k • 102
How to use teppei727/bart-base-finetuned-amazon-onlyen 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="teppei727/bart-base-finetuned-amazon-onlyen") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("teppei727/bart-base-finetuned-amazon-onlyen")
model = AutoModelForSeq2SeqLM.from_pretrained("teppei727/bart-base-finetuned-amazon-onlyen")This model is a fine-tuned version of facebook/bart-base 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 |
|---|---|---|---|---|---|---|---|
| 2.9212 | 1.0 | 771 | 2.8034 | 15.381 | 8.5254 | 15.223 | 15.059 |
| 2.3109 | 2.0 | 1542 | 2.8386 | 19.8947 | 11.0965 | 19.4876 | 19.5366 |
| 1.8973 | 3.0 | 2313 | 2.9258 | 17.7443 | 8.9232 | 17.311 | 17.1796 |
| 1.5421 | 4.0 | 3084 | 3.0696 | 17.8204 | 8.8919 | 17.3889 | 17.205 |
| 1.2391 | 5.0 | 3855 | 3.2609 | 15.9828 | 8.0523 | 15.393 | 15.3808 |
| 0.9736 | 6.0 | 4626 | 3.4080 | 15.7572 | 8.806 | 15.2435 | 15.3036 |
| 0.7824 | 7.0 | 5397 | 3.5537 | 18.4389 | 9.5135 | 17.7836 | 17.8758 |
| 0.6233 | 8.0 | 6168 | 3.6909 | 14.6698 | 6.9584 | 13.9417 | 14.0057 |
| 0.5086 | 9.0 | 6939 | 3.7357 | 16.9465 | 7.7604 | 16.1993 | 16.2963 |
| 0.4412 | 10.0 | 7710 | 3.7572 | 17.2662 | 8.7425 | 16.5765 | 16.6844 |