pytorch tensorboard bart text2text-generation dataset:amazon_reviews_multi transformers generated_from_trainer license:apache-2.0 model-index autotrain_compatible
---
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- amazon_reviews_multi
model-index:
- name: reviews-generator
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# reviews-generator

This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the amazon_reviews_multi dataset.
It achieves the following results on the evaluation set:
- Loss: 3.3020

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 64
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 1.0
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 3.7284        | 0.16  | 500  | 3.5020          |
| 3.6202        | 0.32  | 1000 | 3.4170          |
| 3.5477        | 0.48  | 1500 | 3.3667          |
| 3.5218        | 0.64  | 2000 | 3.3395          |
| 3.5097        | 0.8   | 2500 | 3.3167          |
| 3.5009        | 0.96  | 3000 | 3.3020          |


### Framework versions

- Transformers 4.18.0.dev0
- Pytorch 1.10.1
- Datasets 1.18.4
- Tokenizers 0.11.0
