
<!-- 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-finetuned-squad

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

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

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 5.822         | 0.16  | 100  | 5.4541          |
| 5.3622        | 0.31  | 200  | 4.8810          |
| 4.7972        | 0.47  | 300  | 3.7796          |
| 4.0388        | 0.62  | 400  | 3.0339          |
| 3.551         | 0.78  | 500  | 2.6939          |
| 3.2096        | 0.94  | 600  | 2.4673          |
| 2.9578        | 1.09  | 700  | 2.3025          |
| 2.8282        | 1.25  | 800  | 2.2245          |
| 2.7047        | 1.4   | 900  | 2.1346          |
| 2.6184        | 1.56  | 1000 | 2.0558          |
| 2.5335        | 1.72  | 1100 | 2.0463          |
| 2.478         | 1.87  | 1200 | 2.0043          |
| 2.3972        | 2.03  | 1300 | 1.9531          |
| 2.3655        | 2.18  | 1400 | 1.9188          |
| 2.2355        | 2.34  | 1500 | 1.9123          |
| 2.2738        | 2.5   | 1600 | 1.9028          |
| 2.2448        | 2.65  | 1700 | 1.8926          |
| 2.2777        | 2.81  | 1800 | 1.8893          |
| 2.2982        | 2.96  | 1900 | 1.8856          |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.0+cu118
- Datasets 2.15.0
- Tokenizers 0.15.0

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["squad"], "base_model": "google/flan-t5-small", "model-index": [{"name": "flan-t5-small-finetuned-squad", "results": []}]}
transformers tensorboard safetensors t5 question-answering generated_from_trainer dataset:squad base_model:google/flan-t5-small license:apache-2.0 endpoints_compatible text-generation-inference region:us