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

# lmind_nq_train10000_eval6489_v1_qa_gpt2-xl

This model is a fine-tuned version of [gpt2-xl](https://huggingface.co/gpt2-xl) on the tyzhu/lmind_nq_train10000_eval6489_v1_qa dataset.
It achieves the following results on the evaluation set:
- Loss: 3.0125
- Accuracy: 0.5444

## 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: 3e-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: constant
- num_epochs: 20.0

### Training results

| Training Loss | Epoch | Step  | Accuracy | Validation Loss |
|:-------------:|:-----:|:-----:|:--------:|:---------------:|
| 2.1258        | 1.0   | 625   | 0.5539   | 2.0738          |
| 1.5549        | 2.0   | 1250  | 0.5536   | 2.1456          |
| 1.111         | 3.0   | 1875  | 0.5520   | 2.2951          |
| 0.8659        | 4.0   | 2500  | 0.5515   | 2.4095          |
| 0.7417        | 5.0   | 3125  | 0.5494   | 2.4669          |
| 0.6761        | 6.0   | 3750  | 0.5506   | 2.5498          |
| 0.6383        | 7.0   | 4375  | 0.5499   | 2.5949          |
| 0.6154        | 8.0   | 5000  | 0.5499   | 2.6464          |
| 0.5968        | 9.0   | 5625  | 0.5493   | 2.6962          |
| 0.575         | 10.0  | 6250  | 0.5482   | 2.7146          |
| 0.5623        | 11.0  | 6875  | 0.5478   | 2.7397          |
| 0.5493        | 12.0  | 7500  | 0.5471   | 2.8269          |
| 0.5399        | 13.0  | 8125  | 0.5469   | 2.8481          |
| 0.5236        | 14.0  | 8750  | 0.5462   | 2.8954          |
| 0.5221        | 15.0  | 9375  | 0.5464   | 2.8915          |
| 0.5077        | 16.0  | 10000 | 0.5461   | 2.8996          |
| 0.5008        | 17.0  | 10625 | 0.5457   | 2.9392          |
| 0.489         | 18.0  | 11250 | 0.5449   | 2.9578          |
| 0.4835        | 19.0  | 11875 | 0.5441   | 2.9841          |
| 0.4757        | 20.0  | 12500 | 0.5444   | 3.0125          |


### Framework versions

- Transformers 4.34.0
- Pytorch 2.1.0+cu121
- Datasets 2.14.5
- Tokenizers 0.14.1

{"license": "mit", "tags": ["generated_from_trainer"], "datasets": ["tyzhu/lmind_nq_train10000_eval6489_v1_qa"], "metrics": ["accuracy"], "base_model": "gpt2-xl", "model-index": [{"name": "lmind_nq_train10000_eval6489_v1_qa_gpt2-xl", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/lmind_nq_train10000_eval6489_v1_qa", "type": "tyzhu/lmind_nq_train10000_eval6489_v1_qa"}, "metrics": [{"type": "accuracy", "value": 0.5444400978381561, "name": "Accuracy"}]}]}]}
transformers pytorch gpt2 text-generation generated_from_trainer dataset:tyzhu/lmind_nq_train10000_eval6489_v1_qa base_model:gpt2-xl license:mit model-index autotrain_compatible endpoints_compatible text-generation-inference region:us