
<!-- 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.3469
- Accuracy: 0.4012

## 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 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
| 5.7955        | 0.05  | 886   | 5.3478          | 0.2343   |
| 5.0266        | 0.1   | 1772  | 4.6900          | 0.2811   |
| 4.6096        | 0.15  | 2658  | 4.3098          | 0.3131   |
| 4.3083        | 0.2   | 3544  | 4.0469          | 0.3377   |
| 4.1163        | 0.25  | 4430  | 3.8846          | 0.3528   |
| 3.985         | 0.3   | 5316  | 3.7717          | 0.3624   |
| 3.8866        | 0.35  | 6202  | 3.6870          | 0.3697   |
| 3.8088        | 0.4   | 7088  | 3.6211          | 0.3755   |
| 3.7559        | 0.45  | 7974  | 3.5714          | 0.3799   |
| 3.7057        | 0.5   | 8860  | 3.5285          | 0.3840   |
| 3.6654        | 0.55  | 9746  | 3.4884          | 0.3874   |
| 3.6309        | 0.6   | 10632 | 3.4595          | 0.3900   |
| 3.6013        | 0.65  | 11518 | 3.4346          | 0.3924   |
| 3.5783        | 0.7   | 12404 | 3.4128          | 0.3947   |
| 3.5562        | 0.75  | 13290 | 3.3950          | 0.3964   |
| 3.5387        | 0.8   | 14176 | 3.3806          | 0.3974   |
| 3.5224        | 0.85  | 15062 | 3.3673          | 0.3994   |
| 3.5095        | 0.9   | 15948 | 3.3572          | 0.4002   |
| 3.5048        | 0.95  | 16834 | 3.3505          | 0.4006   |


### 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.4012300423590746, "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