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

# d2p_raw_default_gpt2

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

## 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: 10.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 2.5227        | 0.5   | 2    | 2.0418          | 0.6973   |
| 2.241         | 1.0   | 4    | 1.9097          | 0.7171   |
| 1.9157        | 1.5   | 6    | 1.8238          | 0.7285   |
| 1.6673        | 2.0   | 8    | 1.7554          | 0.7369   |
| 1.5427        | 2.5   | 10   | 1.6991          | 0.7421   |
| 1.4678        | 3.0   | 12   | 1.6507          | 0.7482   |
| 1.3059        | 3.5   | 14   | 1.6115          | 0.7518   |
| 1.1489        | 4.0   | 16   | 1.5825          | 0.7565   |
| 1.122         | 4.5   | 18   | 1.5613          | 0.7573   |
| 1.0663        | 5.0   | 20   | 1.5437          | 0.7593   |
| 1.0271        | 5.5   | 22   | 1.5279          | 0.7608   |
| 0.9004        | 6.0   | 24   | 1.5149          | 0.7638   |
| 0.898         | 6.5   | 26   | 1.5046          | 0.7673   |
| 0.8445        | 7.0   | 28   | 1.4978          | 0.7697   |
| 0.8263        | 7.5   | 30   | 1.4941          | 0.7721   |
| 0.7825        | 8.0   | 32   | 1.4913          | 0.7743   |
| 0.7784        | 8.5   | 34   | 1.4895          | 0.7762   |
| 0.7373        | 9.0   | 36   | 1.4887          | 0.7771   |
| 0.7827        | 9.5   | 38   | 1.4883          | 0.7778   |
| 0.728         | 10.0  | 40   | 1.4883          | 0.7785   |


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