End of training
Browse files- README.md +11 -13
- config.json +3 -1
- generation_config.json +3 -0
- model.safetensors +1 -1
- runs/Jun04_03-41-42_ip-10-192-11-48/events.out.tfevents.1717472506.ip-10-192-11-48.2329.1 +3 -0
- runs/Jun04_03-53-21_ip-10-192-11-48/events.out.tfevents.1717473202.ip-10-192-11-48.2329.2 +3 -0
- runs/Jun04_03-55-20_ip-10-192-11-48/events.out.tfevents.1717473322.ip-10-192-11-48.2329.3 +3 -0
- runs/Jun04_03-57-25_ip-10-192-11-48/events.out.tfevents.1717473446.ip-10-192-11-48.2329.4 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
-
base_model: gpt2
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
model-index:
|
|
@@ -13,9 +11,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 13 |
|
| 14 |
# gpt2-wikitext2
|
| 15 |
|
| 16 |
-
This model
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss:
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -38,8 +36,8 @@ The following hyperparameters were used during training:
|
|
| 38 |
- train_batch_size: 32
|
| 39 |
- eval_batch_size: 32
|
| 40 |
- seed: 42
|
| 41 |
-
- gradient_accumulation_steps:
|
| 42 |
-
- total_train_batch_size:
|
| 43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
- lr_scheduler_type: cosine
|
| 45 |
- lr_scheduler_warmup_steps: 100
|
|
@@ -48,13 +46,13 @@ The following hyperparameters were used during training:
|
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
-
| Training Loss | Epoch
|
| 52 |
-
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
- generated_from_trainer
|
| 4 |
model-index:
|
|
|
|
| 11 |
|
| 12 |
# gpt2-wikitext2
|
| 13 |
|
| 14 |
+
This model was trained from scratch on the None dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
+
- Loss: 0.1674
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
|
|
| 36 |
- train_batch_size: 32
|
| 37 |
- eval_batch_size: 32
|
| 38 |
- seed: 42
|
| 39 |
+
- gradient_accumulation_steps: 4
|
| 40 |
+
- total_train_batch_size: 128
|
| 41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 42 |
- lr_scheduler_type: cosine
|
| 43 |
- lr_scheduler_warmup_steps: 100
|
|
|
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 51 |
+
| 1.4222 | 1.0 | 2916 | 0.7671 |
|
| 52 |
+
| 0.7233 | 2.0 | 5832 | 0.5135 |
|
| 53 |
+
| 0.4245 | 3.0 | 8748 | 0.2865 |
|
| 54 |
+
| 0.2039 | 4.0 | 11664 | 0.1831 |
|
| 55 |
+
| 0.1082 | 5.0 | 14580 | 0.1674 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
| 6 |
],
|
| 7 |
"attn_pdrop": 0.1,
|
| 8 |
"bos_token_id": 0,
|
|
|
|
| 9 |
"embd_pdrop": 0.1,
|
| 10 |
"eos_token_id": 0,
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
"layer_norm_epsilon": 1e-05,
|
|
|
|
| 13 |
"model_type": "gpt2",
|
| 14 |
"n_ctx": 128,
|
| 15 |
"n_embd": 768,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "wiki-text3",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
| 6 |
],
|
| 7 |
"attn_pdrop": 0.1,
|
| 8 |
"bos_token_id": 0,
|
| 9 |
+
"do_sample": true,
|
| 10 |
"embd_pdrop": 0.1,
|
| 11 |
"eos_token_id": 0,
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"layer_norm_epsilon": 1e-05,
|
| 14 |
+
"max_length": 50,
|
| 15 |
"model_type": "gpt2",
|
| 16 |
"n_ctx": 128,
|
| 17 |
"n_embd": 768,
|
generation_config.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 0,
|
|
|
|
| 4 |
"eos_token_id": 0,
|
|
|
|
|
|
|
| 5 |
"transformers_version": "4.41.2"
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 0,
|
| 4 |
+
"do_sample": true,
|
| 5 |
"eos_token_id": 0,
|
| 6 |
+
"max_length": 50,
|
| 7 |
+
"pad_token_id": 25000,
|
| 8 |
"transformers_version": "4.41.2"
|
| 9 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 165013384
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5bba1402cd738060a965730133693ab300ceae7aeaec3d34066ce3d02297009b
|
| 3 |
size 165013384
|
runs/Jun04_03-41-42_ip-10-192-11-48/events.out.tfevents.1717472506.ip-10-192-11-48.2329.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04132fb1b2f75f605c9ca88f5e88442026960f243fb785c71c51632e998a80b0
|
| 3 |
+
size 5538
|
runs/Jun04_03-53-21_ip-10-192-11-48/events.out.tfevents.1717473202.ip-10-192-11-48.2329.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a628edd42bea13fa8b97922b38e9c386281015e673ca053c97f70a28158a119e
|
| 3 |
+
size 5063
|
runs/Jun04_03-55-20_ip-10-192-11-48/events.out.tfevents.1717473322.ip-10-192-11-48.2329.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0c3370b1099780ad9d15a0a3e533a27437f199c24aef4d2f5302b9b1dc285bd
|
| 3 |
+
size 5885
|
runs/Jun04_03-57-25_ip-10-192-11-48/events.out.tfevents.1717473446.ip-10-192-11-48.2329.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c13d676009ec4c882832801c0c628c6eca7d28a6bc7eb978ac65754c2a73e15
|
| 3 |
+
size 7868
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28e7a5aa26195abb3a45c60622411497e74291083da19dafb1aa43c25d0993d3
|
| 3 |
size 5112
|