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

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

## 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.3093        | 1.0   | 313  | 0.5463   | 2.1764          |
| 1.6172        | 2.0   | 626  | 0.5474   | 2.2318          |
| 1.1424        | 3.0   | 939  | 0.5455   | 2.3968          |
| 0.8523        | 4.0   | 1252 | 0.5419   | 2.5716          |
| 0.7188        | 5.0   | 1565 | 0.5414   | 2.6217          |
| 0.6442        | 6.0   | 1878 | 0.5417   | 2.7403          |
| 0.6063        | 7.0   | 2191 | 0.5413   | 2.8021          |
| 0.5702        | 8.0   | 2504 | 0.5404   | 2.8529          |
| 0.5642        | 9.0   | 2817 | 0.5406   | 2.8333          |
| 0.5432        | 10.0  | 3130 | 0.5402   | 2.9121          |
| 0.5333        | 11.0  | 3443 | 0.5385   | 2.9507          |
| 0.5215        | 12.0  | 3756 | 0.5388   | 2.9588          |
| 0.5113        | 13.0  | 4069 | 0.5386   | 2.9802          |
| 0.5022        | 14.0  | 4382 | 0.5382   | 3.0070          |
| 0.4961        | 15.0  | 4695 | 0.5364   | 3.0537          |
| 0.4871        | 16.0  | 5008 | 0.5322   | 3.0833          |
| 0.4737        | 17.0  | 5321 | 0.5368   | 3.0793          |
| 0.4716        | 18.0  | 5634 | 0.5358   | 3.1113          |
| 0.4575        | 19.0  | 5947 | 3.1557   | 0.5351          |
| 0.4588        | 20.0  | 6260 | 3.1520   | 0.5355          |


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