
<!-- 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. -->

# wikitext-103-raw-v1-sent-permute-9_default_gpt2_from_scratch

This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the tyzhu/wikitext-103-raw-v1-sent-permute-9 default dataset.
It achieves the following results on the evaluation set:
- Loss: 3.2394
- Accuracy: 0.4100

## 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: 5e-05
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 1.0

### Training results

| Training Loss | Epoch | Step   | Validation Loss | Accuracy |
|:-------------:|:-----:|:------:|:---------------:|:--------:|
| 4.7214        | 0.05  | 7136   | 4.2947          | 0.3070   |
| 4.1231        | 0.1   | 14272  | 3.8821          | 0.3446   |
| 3.8843        | 0.15  | 21408  | 3.7029          | 0.3589   |
| 3.7483        | 0.2   | 28544  | 3.5979          | 0.3700   |
| 3.6518        | 0.25  | 35680  | 3.5260          | 0.3775   |
| 3.5825        | 0.3   | 42816  | 3.4778          | 0.3814   |
| 3.5288        | 0.35  | 49952  | 3.4383          | 0.3868   |
| 3.4748        | 0.4   | 57088  | 3.4053          | 0.3910   |
| 3.4442        | 0.45  | 64224  | 3.3737          | 0.3943   |
| 3.4085        | 0.5   | 71360  | 3.3522          | 0.3949   |
| 3.3779        | 0.55  | 78496  | 3.3313          | 0.3988   |
| 3.3546        | 0.6   | 85632  | 3.3170          | 0.3993   |
| 3.3329        | 0.65  | 92768  | 3.2997          | 0.4029   |
| 3.3139        | 0.7   | 99904  | 3.2856          | 0.4042   |
| 3.2971        | 0.75  | 107040 | 3.2775          | 0.4044   |
| 3.2806        | 0.8   | 114176 | 3.2651          | 0.4064   |
| 3.2693        | 0.85  | 121312 | 3.2560          | 0.4080   |
| 3.2587        | 0.9   | 128448 | 3.2478          | 0.4092   |
| 3.2464        | 0.95  | 135584 | 3.2429          | 0.4094   |


### 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/wikitext-103-raw-v1-sent-permute-9"], "metrics": ["accuracy"], "base_model": "gpt2", "model-index": [{"name": "wikitext-103-raw-v1-sent-permute-9_default_gpt2_from_scratch", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/wikitext-103-raw-v1-sent-permute-9 default", "type": "tyzhu/wikitext-103-raw-v1-sent-permute-9", "args": "default"}, "metrics": [{"type": "accuracy", "value": 0.4100118314226266, "name": "Accuracy"}]}]}]}
transformers pytorch gpt2 text-generation generated_from_trainer dataset:tyzhu/wikitext-103-raw-v1-sent-permute-9 base_model:gpt2 license:mit model-index autotrain_compatible endpoints_compatible text-generation-inference region:us