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

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

## 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: 10.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 1.2393        | 1.0   | 19   | 2.7518          | 0.4642   |
| 1.0083        | 2.0   | 38   | 2.8483          | 0.4671   |
| 0.6586        | 3.0   | 57   | 2.9167          | 0.4771   |
| 0.5538        | 4.0   | 76   | 3.0249          | 0.4658   |
| 0.494         | 5.0   | 95   | 3.0324          | 0.4623   |
| 0.4855        | 6.0   | 114  | 3.2097          | 0.4642   |
| 0.4789        | 7.0   | 133  | 3.0695          | 0.47     |
| 0.416         | 8.0   | 152  | 3.1559          | 0.4710   |
| 0.4037        | 9.0   | 171  | 3.1865          | 0.4690   |
| 0.402         | 10.0  | 190  | 3.2837          | 0.4697   |


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