
<!-- 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_gpt2-large

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

## 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: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.05
- num_epochs: 10.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.4848        | 1.0   | 57   | 1.7940          | 0.6746   |
| 0.2151        | 2.0   | 114  | 1.9697          | 0.6793   |
| 0.1749        | 3.0   | 171  | 1.9880          | 0.6757   |
| 0.1705        | 4.0   | 228  | 1.9946          | 0.6790   |
| 0.1515        | 5.0   | 285  | 2.1148          | 0.6771   |
| 0.181         | 6.0   | 342  | 2.0810          | 0.6794   |
| 0.1447        | 7.0   | 399  | 2.1167          | 0.6814   |
| 0.1477        | 8.0   | 456  | 2.1366          | 0.6794   |
| 0.1248        | 9.0   | 513  | 2.1582          | 0.6791   |
| 0.1104        | 10.0  | 570  | 2.1541          | 0.6803   |


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