
<!-- 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_doc_qa_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_doc_qa dataset.
It achieves the following results on the evaluation set:
- Loss: 3.2458
- Accuracy: 0.4098

## 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.5358        | 1.0   | 154  | 2.5134          | 0.4079   |
| 1.9896        | 2.0   | 308  | 2.5244          | 0.4095   |
| 1.4673        | 3.0   | 462  | 2.6523          | 0.4108   |
| 1.0519        | 4.0   | 616  | 2.7673          | 0.4111   |
| 0.7412        | 5.0   | 770  | 2.8228          | 0.4101   |
| 0.5196        | 6.0   | 924  | 2.9078          | 0.4119   |
| 0.3761        | 7.0   | 1078 | 2.9956          | 0.4055   |
| 0.3038        | 8.0   | 1232 | 3.0180          | 0.4086   |
| 0.2582        | 9.0   | 1386 | 3.1007          | 0.4114   |
| 0.2406        | 10.0  | 1540 | 2.9489          | 0.4114   |
| 0.1973        | 11.0  | 1694 | 2.9711          | 0.4108   |
| 0.1903        | 12.0  | 1848 | 3.0534          | 0.4119   |
| 0.1923        | 13.0  | 2002 | 2.9860          | 0.4112   |
| 0.1753        | 14.0  | 2156 | 3.1597          | 0.4083   |
| 0.1785        | 15.0  | 2310 | 3.0884          | 0.4019   |
| 0.1602        | 16.0  | 2464 | 3.2141          | 0.4095   |
| 0.1608        | 17.0  | 2618 | 3.2420          | 0.4109   |
| 0.1663        | 18.0  | 2772 | 3.2216          | 0.4111   |
| 0.1593        | 19.0  | 2926 | 3.2594          | 0.4089   |
| 0.1618        | 20.0  | 3080 | 3.2458          | 0.4098   |


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