
<!-- 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_train5000_eval5000_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_train5000_eval5000_v1_doc_qa dataset.
It achieves the following results on the evaluation set:
- Loss: 3.2726
- Accuracy: 0.5244

## 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.4315        | 1.0   | 873   | 0.5220   | 2.4670          |
| 1.9549        | 2.0   | 1746  | 0.5267   | 2.4799          |
| 1.5233        | 3.0   | 2619  | 0.5277   | 2.5548          |
| 1.1854        | 4.0   | 3492  | 0.5272   | 2.6595          |
| 0.8786        | 5.0   | 4365  | 0.5256   | 2.7572          |
| 0.6571        | 6.0   | 5238  | 0.5266   | 2.8186          |
| 0.4886        | 7.0   | 6111  | 0.5265   | 2.8897          |
| 0.3855        | 8.0   | 6984  | 0.5269   | 2.9368          |
| 0.313         | 9.0   | 7857  | 0.5262   | 2.9804          |
| 0.2782        | 10.0  | 8730  | 3.0440   | 0.5267          |
| 0.2474        | 11.0  | 9603  | 3.0317   | 0.5278          |
| 0.2258        | 12.0  | 10476 | 2.9552   | 0.5274          |
| 0.2193        | 13.0  | 11349 | 3.0433   | 0.5269          |
| 0.2147        | 14.0  | 12222 | 3.0043   | 0.5275          |
| 0.198         | 15.0  | 13095 | 3.2049   | 0.5255          |
| 0.1881        | 16.0  | 13968 | 3.1984   | 0.5271          |
| 0.1892        | 17.0  | 14841 | 3.3712   | 0.5254          |
| 0.1819        | 18.0  | 15714 | 3.2897   | 0.5257          |
| 0.1745        | 19.0  | 16587 | 3.3666   | 0.5243          |
| 0.1779        | 20.0  | 17460 | 3.2726   | 0.5244          |


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