
<!-- 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_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_doc_qa dataset.
It achieves the following results on the evaluation set:
- Loss: 3.6720
- Accuracy: 0.4044

## 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.5914        | 1.0   | 93   | 2.5018          | 0.4223   |
| 1.6658        | 2.0   | 186  | 2.5454          | 0.4266   |
| 0.9242        | 3.0   | 279  | 2.7819          | 0.4188   |
| 0.5197        | 4.0   | 372  | 2.8586          | 0.4181   |
| 0.3846        | 5.0   | 465  | 2.8810          | 0.4225   |
| 0.3139        | 6.0   | 558  | 3.0833          | 0.4183   |
| 0.2403        | 7.0   | 651  | 2.9896          | 0.4181   |
| 0.2189        | 8.0   | 744  | 3.1054          | 0.4102   |
| 0.1927        | 9.0   | 837  | 3.0760          | 0.4186   |
| 0.1749        | 10.0  | 930  | 3.2197          | 0.4204   |
| 0.1596        | 11.0  | 1023 | 3.2426          | 0.4224   |
| 0.1465        | 12.0  | 1116 | 3.1389          | 0.4214   |
| 0.1716        | 13.0  | 1209 | 3.2051          | 0.4176   |
| 0.1859        | 14.0  | 1302 | 3.5678          | 0.3847   |
| 0.1607        | 15.0  | 1395 | 3.6460          | 0.3988   |
| 0.1517        | 16.0  | 1488 | 3.4999          | 0.4031   |
| 0.18          | 17.0  | 1581 | 3.4346          | 0.4005   |
| 0.1648        | 18.0  | 1674 | 3.5918          | 0.4013   |
| 0.1819        | 19.0  | 1767 | 3.4870          | 0.3977   |
| 0.1766        | 20.0  | 1860 | 3.6720          | 0.4044   |


### 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_1e-4", "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.40440860215053764, "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