
<!-- 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_train600_eval300_v1_doc_qa_gpt2-xl

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

## 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.7566        | 0.51  | 47   | 0.3899   | 2.9081          |
| 2.4646        | 1.01  | 94   | 0.4113   | 2.7574          |
| 1.9626        | 1.52  | 141  | 0.4074   | 2.6088          |
| 1.9769        | 2.02  | 188  | 0.4212   | 2.5963          |
| 1.3718        | 2.53  | 235  | 0.4073   | 2.7129          |
| 1.4747        | 3.03  | 282  | 0.4190   | 2.6767          |
| 0.9738        | 3.54  | 329  | 0.4195   | 2.7691          |
| 0.9791        | 4.04  | 376  | 0.4153   | 2.9125          |
| 0.6677        | 4.55  | 423  | 0.4128   | 2.9170          |
| 0.5877        | 5.05  | 470  | 0.4163   | 3.0014          |
| 0.4758        | 5.56  | 517  | 0.4135   | 3.0393          |
| 0.4386        | 6.06  | 564  | 0.4153   | 2.9993          |
| 0.3415        | 6.57  | 611  | 0.4142   | 3.0535          |
| 0.337         | 7.08  | 658  | 0.4208   | 3.1077          |
| 0.2414        | 7.58  | 705  | 0.4206   | 3.1183          |
| 0.2525        | 8.09  | 752  | 0.4133   | 3.1260          |
| 0.2303        | 8.59  | 799  | 0.4169   | 3.0884          |
| 0.2306        | 9.1   | 846  | 0.4144   | 3.1938          |
| 0.2014        | 9.6   | 893  | 0.4124   | 3.1865          |
| 0.1906        | 10.11 | 940  | 3.1534   | 0.4153          |
| 0.1745        | 10.61 | 987  | 3.1772   | 0.4225          |
| 0.1697        | 11.12 | 1034 | 3.2396   | 0.4149          |
| 0.1625        | 11.62 | 1081 | 3.2432   | 0.4231          |
| 0.1662        | 12.13 | 1128 | 3.2500   | 0.4197          |
| 0.1606        | 12.63 | 1175 | 3.1766   | 0.4180          |
| 0.1568        | 13.14 | 1222 | 3.2631   | 0.4195          |
| 0.1516        | 13.65 | 1269 | 3.2856   | 0.4192          |
| 0.151         | 14.15 | 1316 | 3.2739   | 0.4216          |
| 0.1711        | 14.66 | 1363 | 3.1756   | 0.4176          |
| 0.136         | 15.16 | 1410 | 3.2400   | 0.4180          |
| 0.161         | 15.67 | 1457 | 3.2643   | 0.4191          |
| 0.1133        | 16.17 | 1504 | 3.3152   | 0.4231          |
| 0.1444        | 16.68 | 1551 | 3.2195   | 0.4238          |
| 0.1258        | 17.18 | 1598 | 3.3378   | 0.4178          |
| 0.1796        | 17.69 | 1645 | 3.2890   | 0.4189          |
| 0.1346        | 18.19 | 1692 | 3.4092   | 0.4209          |
| 0.132         | 18.7  | 1739 | 3.3167   | 0.4233          |
| 0.1344        | 19.2  | 1786 | 3.3716   | 0.4190          |
| 0.1249        | 19.71 | 1833 | 3.2388   | 0.4248          |


### 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_train600_eval300_v1_doc_qa"], "metrics": ["accuracy"], "base_model": "gpt2-xl", "model-index": [{"name": "lmind_nq_train600_eval300_v1_doc_qa_gpt2-xl", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/lmind_nq_train600_eval300_v1_doc_qa", "type": "tyzhu/lmind_nq_train600_eval300_v1_doc_qa"}, "metrics": [{"type": "accuracy", "value": 0.42096774193548386, "name": "Accuracy"}]}]}]}
transformers pytorch gpt2 text-generation generated_from_trainer dataset:tyzhu/lmind_nq_train600_eval300_v1_doc_qa base_model:gpt2-xl license:mit model-index autotrain_compatible endpoints_compatible text-generation-inference region:us