Training in progress, epoch 1
Browse files- README.md +58 -36
- adapter_model.safetensors +2 -2
- added_tokens.json +3 -2
- all_results.json +11 -11
- eval_results.json +6 -6
- special_tokens_map.json +3 -9
- tokenizer.json +12 -3
- tokenizer_config.json +14 -6
- train_results.json +6 -6
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -5,18 +5,18 @@ base_model: gpt2
|
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
model-index:
|
| 8 |
-
- name:
|
| 9 |
results: []
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss:
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -35,46 +35,68 @@ More information needed
|
|
| 35 |
### Training hyperparameters
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
-
- learning_rate:
|
| 39 |
-
- train_batch_size:
|
| 40 |
-
- eval_batch_size:
|
| 41 |
- seed: 42
|
|
|
|
|
|
|
| 42 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
-
- lr_scheduler_type:
|
|
|
|
| 44 |
- num_epochs: 50
|
| 45 |
- mixed_precision_training: Native AMP
|
|
|
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
-
| Training Loss | Epoch | Step
|
| 50 |
-
|
| 51 |
-
|
|
| 52 |
-
|
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
-
|
|
| 62 |
-
|
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
|
|
| 66 |
-
|
|
| 67 |
-
|
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
-
|
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
### Framework versions
|
|
|
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
model-index:
|
| 8 |
+
- name: Se124M10KInfPrompt_endtoken_ls
|
| 9 |
results: []
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
|
| 15 |
+
# Se124M10KInfPrompt_endtoken_ls
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 2.0494
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
|
|
| 35 |
### Training hyperparameters
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 0.0005
|
| 39 |
+
- train_batch_size: 4
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
- seed: 42
|
| 42 |
+
- gradient_accumulation_steps: 8
|
| 43 |
+
- total_train_batch_size: 32
|
| 44 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 45 |
+
- lr_scheduler_type: cosine
|
| 46 |
+
- lr_scheduler_warmup_steps: 200
|
| 47 |
- num_epochs: 50
|
| 48 |
- mixed_precision_training: Native AMP
|
| 49 |
+
- label_smoothing_factor: 0.1
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 54 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 55 |
+
| 19.0863 | 1.0 | 267 | 2.1942 |
|
| 56 |
+
| 17.6413 | 2.0 | 534 | 2.1318 |
|
| 57 |
+
| 17.3454 | 3.0 | 801 | 2.1143 |
|
| 58 |
+
| 17.2455 | 4.0 | 1068 | 2.0979 |
|
| 59 |
+
| 17.112 | 5.0 | 1335 | 2.0918 |
|
| 60 |
+
| 17.0311 | 6.0 | 1602 | 2.0852 |
|
| 61 |
+
| 16.9714 | 7.0 | 1869 | 2.0805 |
|
| 62 |
+
| 16.8883 | 8.0 | 2136 | 2.0760 |
|
| 63 |
+
| 16.8675 | 9.0 | 2403 | 2.0727 |
|
| 64 |
+
| 16.8491 | 10.0 | 2670 | 2.0699 |
|
| 65 |
+
| 16.8653 | 11.0 | 2937 | 2.0698 |
|
| 66 |
+
| 16.7795 | 12.0 | 3204 | 2.0718 |
|
| 67 |
+
| 16.8033 | 13.0 | 3471 | 2.0635 |
|
| 68 |
+
| 16.7715 | 14.0 | 3738 | 2.0644 |
|
| 69 |
+
| 16.7677 | 15.0 | 4005 | 2.0632 |
|
| 70 |
+
| 16.7682 | 16.0 | 4272 | 2.0615 |
|
| 71 |
+
| 16.7473 | 17.0 | 4539 | 2.0598 |
|
| 72 |
+
| 16.7306 | 18.0 | 4806 | 2.0615 |
|
| 73 |
+
| 16.6896 | 19.0 | 5073 | 2.0586 |
|
| 74 |
+
| 16.7027 | 20.0 | 5340 | 2.0589 |
|
| 75 |
+
| 16.6991 | 21.0 | 5607 | 2.0581 |
|
| 76 |
+
| 16.6864 | 22.0 | 5874 | 2.0573 |
|
| 77 |
+
| 16.6749 | 23.0 | 6141 | 2.0562 |
|
| 78 |
+
| 16.6714 | 24.0 | 6408 | 2.0551 |
|
| 79 |
+
| 16.6603 | 25.0 | 6675 | 2.0546 |
|
| 80 |
+
| 16.6801 | 26.0 | 6942 | 2.0542 |
|
| 81 |
+
| 16.6263 | 27.0 | 7209 | 2.0541 |
|
| 82 |
+
| 16.6436 | 28.0 | 7476 | 2.0531 |
|
| 83 |
+
| 16.6471 | 29.0 | 7743 | 2.0523 |
|
| 84 |
+
| 16.6412 | 30.0 | 8010 | 2.0549 |
|
| 85 |
+
| 16.6017 | 31.0 | 8277 | 2.0529 |
|
| 86 |
+
| 16.6352 | 32.0 | 8544 | 2.0510 |
|
| 87 |
+
| 16.5937 | 33.0 | 8811 | 2.0522 |
|
| 88 |
+
| 16.6165 | 34.0 | 9078 | 2.0511 |
|
| 89 |
+
| 16.5961 | 35.0 | 9345 | 2.0518 |
|
| 90 |
+
| 16.5675 | 36.0 | 9612 | 2.0514 |
|
| 91 |
+
| 16.5565 | 37.0 | 9879 | 2.0499 |
|
| 92 |
+
| 16.6215 | 38.0 | 10146 | 2.0504 |
|
| 93 |
+
| 16.6133 | 39.0 | 10413 | 2.0505 |
|
| 94 |
+
| 16.5901 | 40.0 | 10680 | 2.0492 |
|
| 95 |
+
| 16.5841 | 41.0 | 10947 | 2.0500 |
|
| 96 |
+
| 16.5856 | 42.0 | 11214 | 2.0493 |
|
| 97 |
+
| 16.5775 | 43.0 | 11481 | 2.0494 |
|
| 98 |
+
| 16.5873 | 44.0 | 11748 | 2.0497 |
|
| 99 |
+
| 16.5285 | 45.0 | 12015 | 2.0494 |
|
| 100 |
|
| 101 |
|
| 102 |
### Framework versions
|
adapter_model.safetensors
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:98d3be695217498ed522e545a6d2957d39588226441e55cf9056262af2b903e6
|
| 3 |
+
size 309980480
|
added_tokens.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
|
|
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"<endofex>": 50259,
|
| 3 |
+
"<pad>": 50257,
|
| 4 |
+
"<startofex>": 50258
|
| 5 |
}
|
all_results.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"eval_loss":
|
| 4 |
-
"eval_runtime":
|
| 5 |
-
"eval_samples_per_second":
|
| 6 |
-
"eval_steps_per_second":
|
| 7 |
-
"perplexity":
|
| 8 |
-
"total_flos":
|
| 9 |
-
"train_loss":
|
| 10 |
-
"train_runtime":
|
| 11 |
-
"train_samples_per_second":
|
| 12 |
-
"train_steps_per_second":
|
| 13 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 45.0,
|
| 3 |
+
"eval_loss": 2.0493669509887695,
|
| 4 |
+
"eval_runtime": 3.2905,
|
| 5 |
+
"eval_samples_per_second": 555.532,
|
| 6 |
+
"eval_steps_per_second": 69.594,
|
| 7 |
+
"perplexity": 7.7629852003609585,
|
| 8 |
+
"total_flos": 1.975920863064883e+16,
|
| 9 |
+
"train_loss": 16.87015275197182,
|
| 10 |
+
"train_runtime": 3210.0048,
|
| 11 |
+
"train_samples_per_second": 132.835,
|
| 12 |
+
"train_steps_per_second": 4.143
|
| 13 |
}
|
eval_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"eval_loss":
|
| 4 |
-
"eval_runtime":
|
| 5 |
-
"eval_samples_per_second":
|
| 6 |
-
"eval_steps_per_second":
|
| 7 |
-
"perplexity":
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 45.0,
|
| 3 |
+
"eval_loss": 2.0493669509887695,
|
| 4 |
+
"eval_runtime": 3.2905,
|
| 5 |
+
"eval_samples_per_second": 555.532,
|
| 6 |
+
"eval_steps_per_second": 69.594,
|
| 7 |
+
"perplexity": 7.7629852003609585
|
| 8 |
}
|
special_tokens_map.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"additional_special_tokens": [
|
| 3 |
{
|
| 4 |
-
"content": "
|
| 5 |
"lstrip": false,
|
| 6 |
"normalized": false,
|
| 7 |
"rstrip": false,
|
| 8 |
"single_word": false
|
| 9 |
},
|
| 10 |
{
|
| 11 |
-
"content": "
|
| 12 |
"lstrip": false,
|
| 13 |
"normalized": false,
|
| 14 |
"rstrip": false,
|
|
@@ -17,12 +17,6 @@
|
|
| 17 |
],
|
| 18 |
"bos_token": "<|endoftext|>",
|
| 19 |
"eos_token": "<|endoftext|>",
|
| 20 |
-
"pad_token":
|
| 21 |
-
"content": "<|endoftext|>",
|
| 22 |
-
"lstrip": false,
|
| 23 |
-
"normalized": false,
|
| 24 |
-
"rstrip": false,
|
| 25 |
-
"single_word": false
|
| 26 |
-
},
|
| 27 |
"unk_token": "<|endoftext|>"
|
| 28 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"additional_special_tokens": [
|
| 3 |
{
|
| 4 |
+
"content": "<startofex>",
|
| 5 |
"lstrip": false,
|
| 6 |
"normalized": false,
|
| 7 |
"rstrip": false,
|
| 8 |
"single_word": false
|
| 9 |
},
|
| 10 |
{
|
| 11 |
+
"content": "<endofex>",
|
| 12 |
"lstrip": false,
|
| 13 |
"normalized": false,
|
| 14 |
"rstrip": false,
|
|
|
|
| 17 |
],
|
| 18 |
"bos_token": "<|endoftext|>",
|
| 19 |
"eos_token": "<|endoftext|>",
|
| 20 |
+
"pad_token": "<pad>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"unk_token": "<|endoftext|>"
|
| 22 |
}
|
tokenizer.json
CHANGED
|
@@ -14,12 +14,12 @@
|
|
| 14 |
"single_word": false,
|
| 15 |
"lstrip": false,
|
| 16 |
"rstrip": false,
|
| 17 |
-
"normalized":
|
| 18 |
"special": true
|
| 19 |
},
|
| 20 |
{
|
| 21 |
"id": 50257,
|
| 22 |
-
"content": "
|
| 23 |
"single_word": false,
|
| 24 |
"lstrip": false,
|
| 25 |
"rstrip": false,
|
|
@@ -28,7 +28,16 @@
|
|
| 28 |
},
|
| 29 |
{
|
| 30 |
"id": 50258,
|
| 31 |
-
"content": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
"single_word": false,
|
| 33 |
"lstrip": false,
|
| 34 |
"rstrip": false,
|
|
|
|
| 14 |
"single_word": false,
|
| 15 |
"lstrip": false,
|
| 16 |
"rstrip": false,
|
| 17 |
+
"normalized": true,
|
| 18 |
"special": true
|
| 19 |
},
|
| 20 |
{
|
| 21 |
"id": 50257,
|
| 22 |
+
"content": "<pad>",
|
| 23 |
"single_word": false,
|
| 24 |
"lstrip": false,
|
| 25 |
"rstrip": false,
|
|
|
|
| 28 |
},
|
| 29 |
{
|
| 30 |
"id": 50258,
|
| 31 |
+
"content": "<startofex>",
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"lstrip": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"normalized": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"id": 50259,
|
| 40 |
+
"content": "<endofex>",
|
| 41 |
"single_word": false,
|
| 42 |
"lstrip": false,
|
| 43 |
"rstrip": false,
|
tokenizer_config.json
CHANGED
|
@@ -4,13 +4,13 @@
|
|
| 4 |
"50256": {
|
| 5 |
"content": "<|endoftext|>",
|
| 6 |
"lstrip": false,
|
| 7 |
-
"normalized":
|
| 8 |
"rstrip": false,
|
| 9 |
"single_word": false,
|
| 10 |
"special": true
|
| 11 |
},
|
| 12 |
"50257": {
|
| 13 |
-
"content": "
|
| 14 |
"lstrip": false,
|
| 15 |
"normalized": false,
|
| 16 |
"rstrip": false,
|
|
@@ -18,7 +18,15 @@
|
|
| 18 |
"special": true
|
| 19 |
},
|
| 20 |
"50258": {
|
| 21 |
-
"content": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"lstrip": false,
|
| 23 |
"normalized": false,
|
| 24 |
"rstrip": false,
|
|
@@ -27,15 +35,15 @@
|
|
| 27 |
}
|
| 28 |
},
|
| 29 |
"additional_special_tokens": [
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
],
|
| 33 |
"bos_token": "<|endoftext|>",
|
| 34 |
"clean_up_tokenization_spaces": false,
|
| 35 |
"eos_token": "<|endoftext|>",
|
| 36 |
"extra_special_tokens": {},
|
| 37 |
"model_max_length": 1024,
|
| 38 |
-
"pad_token": "
|
| 39 |
"tokenizer_class": "GPT2Tokenizer",
|
| 40 |
"unk_token": "<|endoftext|>"
|
| 41 |
}
|
|
|
|
| 4 |
"50256": {
|
| 5 |
"content": "<|endoftext|>",
|
| 6 |
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
"rstrip": false,
|
| 9 |
"single_word": false,
|
| 10 |
"special": true
|
| 11 |
},
|
| 12 |
"50257": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
"lstrip": false,
|
| 15 |
"normalized": false,
|
| 16 |
"rstrip": false,
|
|
|
|
| 18 |
"special": true
|
| 19 |
},
|
| 20 |
"50258": {
|
| 21 |
+
"content": "<startofex>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"50259": {
|
| 29 |
+
"content": "<endofex>",
|
| 30 |
"lstrip": false,
|
| 31 |
"normalized": false,
|
| 32 |
"rstrip": false,
|
|
|
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"additional_special_tokens": [
|
| 38 |
+
"<startofex>",
|
| 39 |
+
"<endofex>"
|
| 40 |
],
|
| 41 |
"bos_token": "<|endoftext|>",
|
| 42 |
"clean_up_tokenization_spaces": false,
|
| 43 |
"eos_token": "<|endoftext|>",
|
| 44 |
"extra_special_tokens": {},
|
| 45 |
"model_max_length": 1024,
|
| 46 |
+
"pad_token": "<pad>",
|
| 47 |
"tokenizer_class": "GPT2Tokenizer",
|
| 48 |
"unk_token": "<|endoftext|>"
|
| 49 |
}
|
train_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"total_flos":
|
| 4 |
-
"train_loss":
|
| 5 |
-
"train_runtime":
|
| 6 |
-
"train_samples_per_second":
|
| 7 |
-
"train_steps_per_second":
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 45.0,
|
| 3 |
+
"total_flos": 1.975920863064883e+16,
|
| 4 |
+
"train_loss": 16.87015275197182,
|
| 5 |
+
"train_runtime": 3210.0048,
|
| 6 |
+
"train_samples_per_second": 132.835,
|
| 7 |
+
"train_steps_per_second": 4.143
|
| 8 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5432
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41324b928c15047f3014d419675156ca38c76cb52eec239a84bc17d7df167284
|
| 3 |
size 5432
|