
<!-- 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_train10000_eval6489_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_train10000_eval6489_v1_doc_qa dataset.
It achieves the following results on the evaluation set:
- Loss: 3.2323
- Accuracy: 0.5337

## 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.3836        | 1.0   | 1501  | 0.5288   | 2.3261          |
| 1.9602        | 2.0   | 3002  | 0.5339   | 2.3005          |
| 1.5601        | 3.0   | 4503  | 0.5351   | 2.4061          |
| 1.2266        | 4.0   | 6004  | 0.5352   | 2.5137          |
| 0.9416        | 5.0   | 7505  | 0.5360   | 2.5884          |
| 0.7075        | 6.0   | 9006  | 0.5352   | 2.6911          |
| 0.5505        | 7.0   | 10507 | 0.5354   | 2.7479          |
| 0.4356        | 8.0   | 12008 | 0.5356   | 2.7512          |
| 0.3678        | 9.0   | 13509 | 0.5304   | 2.8213          |
| 0.3165        | 10.0  | 15010 | 0.5360   | 2.8227          |
| 0.287         | 11.0  | 16511 | 0.5418   | 2.6610          |
| 0.2669        | 12.0  | 18012 | 0.5352   | 2.8694          |
| 0.2525        | 13.0  | 19513 | 0.5354   | 2.9228          |
| 0.2407        | 14.0  | 21014 | 0.5351   | 3.0363          |
| 0.2386        | 15.0  | 22515 | 0.5351   | 3.1006          |
| 0.2242        | 16.0  | 24016 | 0.5340   | 3.1375          |
| 0.226         | 17.0  | 25517 | 0.5341   | 3.1884          |
| 0.2206        | 18.0  | 27018 | 0.5337   | 3.0889          |
| 0.2138        | 19.0  | 28519 | 0.5338   | 3.1191          |
| 0.2148        | 20.0  | 30020 | 0.5337   | 3.2323          |


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