
<!-- 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. -->

# FineTuned_NewAmazonReview2

This model is a fine-tuned version of [LiYuan/amazon-review-sentiment-analysis](https://huggingface.co/LiYuan/amazon-review-sentiment-analysis) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.8358
- Accuracy: 0.76

## 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: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2

### Training results

| Training Loss | Epoch | Step  | Validation Loss |
|:-------------:|:-----:|:-----:|:---------------:|
| 1.0138        | 0.1   | 500   | 1.0133          |
| 0.9798        | 0.2   | 1000  | 0.9427          |
| 0.9808        | 0.3   | 1500  | 0.9525          |
| 0.927         | 0.4   | 2000  | 0.9319          |
| 0.9201        | 0.5   | 2500  | 0.9614          |
| 0.933         | 0.6   | 3000  | 0.9032          |
| 0.911         | 0.7   | 3500  | 0.8853          |
| 0.8831        | 0.8   | 4000  | 0.8803          |
| 0.8778        | 0.9   | 4500  | 0.8814          |
| 0.8954        | 1.0   | 5000  | 0.8509          |
| 0.7525        | 1.1   | 5500  | 0.8722          |
| 0.7518        | 1.2   | 6000  | 0.8817          |
| 0.7552        | 1.3   | 6500  | 0.8613          |
| 0.7508        | 1.4   | 7000  | 0.8773          |
| 0.7389        | 1.5   | 7500  | 0.8524          |
| 0.7233        | 1.6   | 8000  | 0.8492          |
| 0.7315        | 1.7   | 8500  | 0.8498          |
| 0.7213        | 1.8   | 9000  | 0.8394          |
| 0.711         | 1.9   | 9500  | 0.8351          |
| 0.7109        | 2.0   | 10000 | 0.8358          |


### Framework versions

- Transformers 4.36.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "base_model": "LiYuan/amazon-review-sentiment-analysis", "model-index": [{"name": "FineTuned_NewAmazonReview2", "results": []}]}
transformers tensorboard safetensors bert text-classification generated_from_trainer base_model:LiYuan/amazon-review-sentiment-analysis license:apache-2.0 autotrain_compatible endpoints_compatible region:us