votaquangnhat commited on
Commit
35a6149
·
verified ·
1 Parent(s): 9df4a27

Training in progress, step 500

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: danghuy1999/gpt2-viwiki
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: vietnamese-poem-gpt2-sauchu
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
+ # vietnamese-poem-gpt2-sauchu
16
+
17
+ This model is a fine-tuned version of [danghuy1999/gpt2-viwiki](https://huggingface.co/danghuy1999/gpt2-viwiki) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 5.9586
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 4
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 32
44
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 500
47
+ - num_epochs: 12
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | No log | 1.0 | 17 | 7.5820 |
55
+ | No log | 2.0 | 34 | 7.2608 |
56
+ | No log | 3.0 | 51 | 6.9590 |
57
+ | No log | 4.0 | 68 | 6.7325 |
58
+ | No log | 5.0 | 85 | 6.5588 |
59
+ | No log | 6.0 | 102 | 6.4239 |
60
+ | No log | 7.0 | 119 | 6.3150 |
61
+ | No log | 8.0 | 136 | 6.2274 |
62
+ | No log | 9.0 | 153 | 6.1426 |
63
+ | No log | 10.0 | 170 | 6.0750 |
64
+ | No log | 11.0 | 187 | 6.0142 |
65
+ | No log | 12.0 | 204 | 5.9586 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.47.1
71
+ - Pytorch 2.5.1+cu121
72
+ - Datasets 3.2.0
73
+ - Tokenizers 0.21.0
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 50257
3
+ }
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "danghuy1999/gpt2-viwiki",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 12,
26
+ "n_positions": 1024,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.47.1",
44
+ "use_cache": true,
45
+ "vocab_size": 50257
46
+ }
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.47.1"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79f08607ac414fa25e8139856bdbbc2168aceca2694a6df56dbed5afc70501c7
3
+ size 497774208
runs/Dec30_10-26-32_b2ab2675858f/events.out.tfevents.1735554393.b2ab2675858f.362.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a9e8d70438ef50c0b929decb2630199bc07e2eef1e7f6fc72a1ee17daacf84
3
+ size 5673
runs/Dec30_10-37-41_b2ab2675858f/events.out.tfevents.1735555062.b2ab2675858f.3261.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ec034fed21bfabfc5154f6c6c839d0da1f6c5ac787cc0b62c93e29bafecb4f4
3
+ size 5791
runs/Dec30_11-01-41_b2ab2675858f/events.out.tfevents.1735556504.b2ab2675858f.9977.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c22c70ae340070dd4951338bdae7c9fbc5a77d6105460eb55eaaa867e9cb15f4
3
+ size 5791
runs/Dec30_11-36-11_b2ab2675858f/events.out.tfevents.1735558573.b2ab2675858f.11857.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e9fcff51d8e69c0de676148d6449cf2e127ea2db546fd9724a938afd5ad535f
3
+ size 9017
runs/Dec30_12-27-43_b2ab2675858f/events.out.tfevents.1735561664.b2ab2675858f.31967.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ab3a6095e64afefdbd90ddf0907057eda4677e4942e2d8f64677d414481859d
3
+ size 8899
runs/Dec30_12-44-42_b2ab2675858f/events.out.tfevents.1735562684.b2ab2675858f.36127.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a06cc3d61cbe25de04e741d96f3405da66fa204d094c76760cdd9e89736380f5
3
+ size 6470
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": false,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "extra_special_tokens": {},
19
+ "model_max_length": 1000000000000000019884624838656,
20
+ "pad_token": "<|endoftext|>",
21
+ "tokenizer_class": "GPT2Tokenizer",
22
+ "unk_token": "<|endoftext|>"
23
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026df79ea96a07de596515546a8d94d151f4612a00707659bcb75920afaf3ed1
3
+ size 5368
vocab.json ADDED
The diff for this file is too large to render. See raw diff