Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: openai-community/gpt2
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: clm-gpt2
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# clm-gpt2
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.5054
|
| 22 |
+
- Accuracy: 0.6325
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 0.003
|
| 42 |
+
- train_batch_size: 4
|
| 43 |
+
- eval_batch_size: 4
|
| 44 |
+
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 4
|
| 46 |
+
- total_train_batch_size: 16
|
| 47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- lr_scheduler_warmup_steps: 1000
|
| 50 |
+
- num_epochs: 3.0
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:------:|:-----:|:---------------:|:--------:|
|
| 56 |
+
| 2.4536 | 0.1302 | 500 | 2.1316 | 0.4955 |
|
| 57 |
+
| 2.1054 | 0.2603 | 1000 | 2.0124 | 0.5221 |
|
| 58 |
+
| 1.9756 | 0.3905 | 1500 | 1.9025 | 0.5453 |
|
| 59 |
+
| 1.8863 | 0.5206 | 2000 | 1.8367 | 0.5601 |
|
| 60 |
+
| 1.8283 | 0.6508 | 2500 | 1.7927 | 0.5686 |
|
| 61 |
+
| 1.7893 | 0.7809 | 3000 | 1.7585 | 0.5760 |
|
| 62 |
+
| 1.7555 | 0.9111 | 3500 | 1.7328 | 0.5815 |
|
| 63 |
+
| 1.7143 | 1.0413 | 4000 | 1.7016 | 0.5882 |
|
| 64 |
+
| 1.6697 | 1.1714 | 4500 | 1.6813 | 0.5930 |
|
| 65 |
+
| 1.6584 | 1.3016 | 5000 | 1.6615 | 0.5972 |
|
| 66 |
+
| 1.6438 | 1.4317 | 5500 | 1.6422 | 0.6009 |
|
| 67 |
+
| 1.6184 | 1.5619 | 6000 | 1.6236 | 0.6049 |
|
| 68 |
+
| 1.6086 | 1.6920 | 6500 | 1.6102 | 0.6082 |
|
| 69 |
+
| 1.5882 | 1.8222 | 7000 | 1.5938 | 0.6114 |
|
| 70 |
+
| 1.5719 | 1.9524 | 7500 | 1.5786 | 0.6148 |
|
| 71 |
+
| 1.5272 | 2.0825 | 8000 | 1.5718 | 0.6175 |
|
| 72 |
+
| 1.4971 | 2.2127 | 8500 | 1.5593 | 0.6204 |
|
| 73 |
+
| 1.4893 | 2.3428 | 9000 | 1.5475 | 0.6227 |
|
| 74 |
+
| 1.4808 | 2.4730 | 9500 | 1.5382 | 0.6251 |
|
| 75 |
+
| 1.4689 | 2.6031 | 10000 | 1.5274 | 0.6275 |
|
| 76 |
+
| 1.4572 | 2.7333 | 10500 | 1.5169 | 0.6298 |
|
| 77 |
+
| 1.4488 | 2.8635 | 11000 | 1.5106 | 0.6315 |
|
| 78 |
+
| 1.4465 | 2.9936 | 11500 | 1.5054 | 0.6325 |
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
### Framework versions
|
| 82 |
+
|
| 83 |
+
- Transformers 4.44.2
|
| 84 |
+
- Pytorch 2.1.0+cu121
|
| 85 |
+
- Datasets 2.21.0
|
| 86 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.44.2"
|
| 6 |
+
}
|
runs/Oct04_16-35-53_Turing/events.out.tfevents.1728059757.Turing.1254601.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d612f794a6eced0d81b7e81d10f6d53dc49cf930f29bce1f3291606d946025e
|
| 3 |
+
size 17731
|