pytorch tensorboard generated_from_trainer license:apache-2.0 region:us
---
license: apache-2.0
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: flan-t5-small-twitter-sentiment-analysis-lora
  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. -->

# flan-t5-small-twitter-sentiment-analysis-lora

This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2093
- Accuracy: 0.8115

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

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.2573        | 1.0   | 938  | 0.2270          | 0.7941   |
| 0.2369        | 2.0   | 1876 | 0.2176          | 0.8057   |
| 0.2286        | 3.0   | 2814 | 0.2132          | 0.8091   |
| 0.2227        | 4.0   | 3752 | 0.2089          | 0.8122   |
| 0.2204        | 5.0   | 4690 | 0.2083          | 0.8141   |
| 0.2191        | 6.0   | 5628 | 0.2077          | 0.8143   |
| 0.2183        | 7.0   | 6566 | 0.2048          | 0.8169   |
| 0.2155        | 8.0   | 7504 | 0.2066          | 0.8156   |
| 0.2164        | 9.0   | 8442 | 0.2047          | 0.8174   |
| 0.2167        | 10.0  | 9380 | 0.2041          | 0.8177   |


### Framework versions

- Transformers 4.27.1
- Pytorch 2.0.1
- Datasets 2.9.0
- Tokenizers 0.13.3
