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

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

## 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.2033        | 1.0   | 1452  | 0.5796   | 2.4975          |
| 1.7856        | 2.0   | 2904  | 0.5884   | 2.3932          |
| 1.4035        | 3.0   | 4356  | 0.5910   | 2.4250          |
| 1.093         | 4.0   | 5808  | 0.5915   | 2.5039          |
| 0.8274        | 5.0   | 7260  | 0.5918   | 2.6079          |
| 0.6314        | 6.0   | 8712  | 0.5924   | 2.7433          |
| 0.494         | 7.0   | 10164 | 2.8327   | 0.5920          |
| 0.3895        | 8.0   | 11616 | 2.8787   | 0.5905          |
| 0.3201        | 9.0   | 13068 | 2.9651   | 0.5921          |
| 0.278         | 10.0  | 14520 | 3.0052   | 0.5932          |
| 0.2467        | 11.0  | 15972 | 3.0679   | 0.5923          |
| 0.229         | 12.0  | 17424 | 3.0794   | 0.5928          |
| 0.2168        | 13.0  | 18876 | 3.1029   | 0.5929          |
| 0.2037        | 14.0  | 20328 | 3.1670   | 0.5935          |
| 0.1974        | 15.0  | 21780 | 3.1836   | 0.5928          |
| 0.1924        | 16.0  | 23232 | 3.2161   | 0.5930          |
| 0.184         | 17.0  | 24684 | 3.2388   | 0.5928          |
| 0.1793        | 18.0  | 26136 | 3.2768   | 0.5928          |
| 0.1803        | 19.0  | 27588 | 3.2933   | 0.5929          |
| 0.1743        | 20.0  | 29040 | 3.3059   | 0.5929          |


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