
<!-- 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_docidx_gpt2-xl_1e-4

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

## 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: 0.0001
- 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 | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 2.6124        | 1.0   | 56   | 1.8445          | 0.6441   |
| 1.4352        | 2.0   | 112  | 1.0245          | 0.7549   |
| 0.7158        | 3.0   | 168  | 0.6244          | 0.8158   |
| 0.3656        | 4.0   | 224  | 0.5093          | 0.8339   |
| 0.2166        | 5.0   | 280  | 0.4604          | 0.8408   |
| 0.1541        | 6.0   | 336  | 0.4417          | 0.8437   |
| 0.1169        | 7.0   | 392  | 0.4299          | 0.8454   |
| 0.0918        | 8.0   | 448  | 0.4331          | 0.8463   |
| 0.0864        | 9.0   | 504  | 0.4431          | 0.8463   |
| 0.0826        | 10.0  | 560  | 0.4387          | 0.8463   |
| 0.078         | 11.0  | 616  | 0.4339          | 0.8463   |
| 0.0785        | 12.0  | 672  | 0.4238          | 0.8465   |
| 0.0788        | 13.0  | 728  | 0.4216          | 0.8462   |
| 0.0768        | 14.0  | 784  | 0.4269          | 0.8467   |
| 0.0948        | 15.0  | 840  | 0.4294          | 0.8467   |
| 0.0698        | 16.0  | 896  | 0.4262          | 0.8470   |
| 0.0663        | 17.0  | 952  | 0.4288          | 0.8469   |
| 0.0734        | 18.0  | 1008 | 0.4402          | 0.8468   |
| 0.0666        | 19.0  | 1064 | 0.4391          | 0.8468   |
| 0.0688        | 20.0  | 1120 | 0.4250          | 0.8466   |


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