
<!-- 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_full_v1_doc_qa_gpt2-large

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

## 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: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.05
- num_epochs: 10.0

### Training results

| Training Loss | Epoch | Step  | Accuracy | Validation Loss |
|:-------------:|:-----:|:-----:|:--------:|:---------------:|
| 2.5403        | 1.0   | 3205  | 0.5426   | 2.1639          |
| 2.3231        | 2.0   | 6410  | 0.5472   | 2.3009          |
| 2.1015        | 3.0   | 9615  | 2.2430   | 0.5543          |
| 1.9104        | 4.0   | 12820 | 2.3294   | 0.5530          |
| 1.7679        | 5.0   | 16025 | 2.3834   | 0.5515          |
| 1.6547        | 6.0   | 19230 | 2.4332   | 0.5521          |
| 1.535         | 7.0   | 22435 | 2.4118   | 0.5533          |
| 1.4462        | 8.0   | 25640 | 2.4703   | 0.5508          |
| 1.3739        | 9.0   | 28845 | 2.5395   | 0.5516          |
| 1.3346        | 10.0  | 32050 | 2.5456   | 0.5509          |


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