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

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

## 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 | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 2.4979        | 1.0   | 92   | 2.0917          | 0.6058   |
| 1.9179        | 2.0   | 184  | 1.5888          | 0.6724   |
| 1.395         | 3.0   | 276  | 1.1328          | 0.7339   |
| 0.9786        | 4.0   | 368  | 0.8070          | 0.7857   |
| 0.6769        | 5.0   | 460  | 0.5988          | 0.8175   |
| 0.4461        | 6.0   | 552  | 0.4798          | 0.8342   |
| 0.2957        | 7.0   | 644  | 0.4306          | 0.8418   |
| 0.21          | 8.0   | 736  | 0.3934          | 0.8447   |
| 0.1689        | 9.0   | 828  | 0.4032          | 0.8456   |
| 0.1356        | 10.0  | 920  | 0.3936          | 0.8466   |
| 0.116         | 11.0  | 1012 | 0.3896          | 0.8471   |
| 0.1022        | 12.0  | 1104 | 0.3932          | 0.8475   |
| 0.0921        | 13.0  | 1196 | 0.3893          | 0.8476   |
| 0.0853        | 14.0  | 1288 | 0.4030          | 0.8478   |
| 0.0805        | 15.0  | 1380 | 0.4070          | 0.8479   |
| 0.0784        | 16.0  | 1472 | 0.4038          | 0.8478   |
| 0.0775        | 17.0  | 1564 | 0.4024          | 0.8481   |
| 0.0755        | 18.0  | 1656 | 0.4076          | 0.8480   |
| 0.0707        | 19.0  | 1748 | 0.4097          | 0.8480   |
| 0.0737        | 20.0  | 1840 | 0.4066          | 0.8479   |


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