generated_from_trainer base_model:finiteautomata/bertweet-base-sentiment-analysis region:us
---
base_model: finiteautomata/bertweet-base-sentiment-analysis
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: model_IMDB_peft
  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. -->

# model_IMDB_peft

This model is a fine-tuned version of [finiteautomata/bertweet-base-sentiment-analysis](https://huggingface.co/finiteautomata/bertweet-base-sentiment-analysis) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2807
- Accuracy: 0.8894

## 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: 10

### Training results

| Training Loss | Epoch | Step  | Validation Loss | Accuracy |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
| 0.3222        | 1.0   | 1563  | 0.3062          | 0.8706   |
| 0.3122        | 2.0   | 3126  | 0.2992          | 0.8770   |
| 0.296         | 3.0   | 4689  | 0.2916          | 0.8825   |
| 0.286         | 4.0   | 6252  | 0.2864          | 0.8847   |
| 0.2723        | 5.0   | 7815  | 0.2843          | 0.8858   |
| 0.2776        | 6.0   | 9378  | 0.2802          | 0.8877   |
| 0.2688        | 7.0   | 10941 | 0.2806          | 0.888    |
| 0.2641        | 8.0   | 12504 | 0.2795          | 0.889    |
| 0.267         | 9.0   | 14067 | 0.2807          | 0.8896   |
| 0.2726        | 10.0  | 15630 | 0.2807          | 0.8894   |


### Framework versions

- Transformers 4.34.0
- Pytorch 2.0.1+cu117
- Datasets 2.17.0
- Tokenizers 0.14.0
