
<!-- 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_docidx_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_docidx dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3755
- Accuracy: 0.8458

## 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 | Accuracy | Validation Loss |
|:-------------:|:-----:|:----:|:--------:|:---------------:|
| 2.5162        | 1.0   | 25   | 0.5959   | 2.1825          |
| 1.9386        | 2.0   | 50   | 0.6555   | 1.6539          |
| 1.3794        | 3.0   | 75   | 1.1905   | 0.7228          |
| 0.9984        | 4.0   | 100  | 0.8250   | 0.7788          |
| 0.6096        | 5.0   | 125  | 0.5847   | 0.8163          |
| 0.3704        | 6.0   | 150  | 0.4639   | 0.8345          |
| 0.2566        | 7.0   | 175  | 0.4214   | 0.8412          |
| 0.1839        | 8.0   | 200  | 0.3953   | 0.8438          |
| 0.1309        | 9.0   | 225  | 0.3875   | 0.8454          |
| 0.1091        | 10.0  | 250  | 0.3755   | 0.8458          |


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