
<!-- 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_doc_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_doc_qa dataset.
It achieves the following results on the evaluation set:
- Loss: 2.9570
- Accuracy: 0.4526

## 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.8459        | 1.0   | 44   | 2.6800          | 0.4342   |
| 1.6273        | 2.0   | 88   | 2.5807          | 0.4561   |
| 1.1616        | 3.0   | 132  | 2.6630          | 0.4503   |
| 0.8102        | 4.0   | 176  | 2.8560          | 0.45     |
| 0.499         | 5.0   | 220  | 2.8707          | 0.4561   |
| 0.3503        | 6.0   | 264  | 2.8700          | 0.46     |
| 0.282         | 7.0   | 308  | 2.9156          | 0.4648   |
| 0.2189        | 8.0   | 352  | 2.8987          | 0.4623   |
| 0.2124        | 9.0   | 396  | 2.8649          | 0.4639   |
| 0.2042        | 10.0  | 440  | 2.9570          | 0.4526   |


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