percymamedy
commited on
Commit
•
d0d2d79
1
Parent(s):
3fe873f
End of training
Browse files- README.md +5 -6
- config.json +1 -1
- model.safetensors +1 -1
- runs/Jun25_06-25-46_65dc034aa3e6/events.out.tfevents.1719296757.65dc034aa3e6.390.1 +3 -0
- special_tokens_map.json +7 -1
- tokenizer_config.json +4 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
-
base_model: gpt2
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
@@ -13,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# reuters-gpt2-text-gen
|
15 |
|
16 |
-
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Loss: 4.
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -42,15 +42,14 @@ The following hyperparameters were used during training:
|
|
42 |
- total_train_batch_size: 64
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: cosine
|
45 |
-
- num_epochs:
|
46 |
- mixed_precision_training: Native AMP
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
|:-------------:|:------:|:----:|:---------------:|
|
52 |
-
|
|
53 |
-
| 4.7545 | 1.9944 | 538 | 4.9851 |
|
54 |
|
55 |
|
56 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: percymamedy/reuters-gpt2-text-gen
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
|
|
13 |
|
14 |
# reuters-gpt2-text-gen
|
15 |
|
16 |
+
This model is a fine-tuned version of [percymamedy/reuters-gpt2-text-gen](https://huggingface.co/percymamedy/reuters-gpt2-text-gen) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 4.7849
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
42 |
- total_train_batch_size: 64
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: cosine
|
45 |
+
- num_epochs: 1
|
46 |
- mixed_precision_training: Native AMP
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
|:-------------:|:------:|:----:|:---------------:|
|
52 |
+
| 4.5575 | 0.9972 | 269 | 4.7849 |
|
|
|
53 |
|
54 |
|
55 |
### Framework versions
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "gpt2",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "percymamedy/reuters-gpt2-text-gen",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 503128704
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12e67108630bbd18be421b18837a0e14af3ee031eb00afe0939fef46cbc36aa4
|
3 |
size 503128704
|
runs/Jun25_06-25-46_65dc034aa3e6/events.out.tfevents.1719296757.65dc034aa3e6.390.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23b84b1a0c95446ab4fba60632b602c5b2de3543453ff713b14b1efe0fb31f76
|
3 |
+
size 11202
|
special_tokens_map.json
CHANGED
@@ -13,7 +13,13 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
"unk_token": {
|
24 |
"content": "<|endoftext|>",
|
25 |
"lstrip": false,
|
tokenizer_config.json
CHANGED
@@ -13,8 +13,12 @@
|
|
13 |
"bos_token": "<|endoftext|>",
|
14 |
"clean_up_tokenization_spaces": true,
|
15 |
"eos_token": "<|endoftext|>",
|
|
|
16 |
"model_max_length": 1024,
|
17 |
"pad_token": "<|endoftext|>",
|
|
|
18 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
|
|
19 |
"unk_token": "<|endoftext|>"
|
20 |
}
|
|
|
13 |
"bos_token": "<|endoftext|>",
|
14 |
"clean_up_tokenization_spaces": true,
|
15 |
"eos_token": "<|endoftext|>",
|
16 |
+
"max_length": 512,
|
17 |
"model_max_length": 1024,
|
18 |
"pad_token": "<|endoftext|>",
|
19 |
+
"stride": 0,
|
20 |
"tokenizer_class": "GPT2Tokenizer",
|
21 |
+
"truncation_side": "right",
|
22 |
+
"truncation_strategy": "longest_first",
|
23 |
"unk_token": "<|endoftext|>"
|
24 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99f904a03b640c6ea0243277e7164f908b9d5f90f6daf6b94b8ac8915e653402
|
3 |
size 5176
|