ganeshkamath89
commited on
Commit
•
e89bff2
1
Parent(s):
cdecee0
End of training
Browse files- README.md +5 -6
- config.json +1 -1
- model.safetensors +1 -1
- runs/Apr06_16-21-28_8093e94b5dd6/events.out.tfevents.1712420495.8093e94b5dd6.34.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: 5.
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -42,15 +42,14 @@ The following hyperparameters were used during training:
|
|
42 |
- total_train_batch_size: 128
|
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 |
-
| 5.2331 | 1.99 | 268 | 5.3641 |
|
54 |
|
55 |
|
56 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: ganeshkamath89/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 [ganeshkamath89/reuters-gpt2-text-gen](https://huggingface.co/ganeshkamath89/reuters-gpt2-text-gen) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 5.0228
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
42 |
- total_train_batch_size: 128
|
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.7518 | 1.0 | 269 | 5.0228 |
|
|
|
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": "ganeshkamath89/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:8eb38021f37d9ce470dcc2d546b06e4b82bfb4c40fb5df8734027d30a240ede1
|
3 |
size 503128704
|
runs/Apr06_16-21-28_8093e94b5dd6/events.out.tfevents.1712420495.8093e94b5dd6.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d0f28c6efee7f2031abb48e6bea023bc792de8d407278ddcd85b386fe43e655
|
3 |
+
size 25447
|
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": false,
|
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 4984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c8453de0c945427e73ce3e77187c693c284267d4d54562cfd2744d0e64b375f
|
3 |
size 4984
|