anlt69 commited on
Commit
99d6141
1 Parent(s): 4999ad6

Upload 13 files

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: /kaggle/working
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: 2_epoch
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # 2_epoch
14
+
15
+ This model is a fine-tuned version of [/kaggle/working](https://huggingface.co//kaggle/working) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.1586
18
+ - Cer: 24.1677
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.0001
38
+ - train_batch_size: 16
39
+ - eval_batch_size: 16
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 32
42
+ - total_train_batch_size: 512
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 1.0
46
+
47
+ ### Training results
48
+
49
+
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.33.0
54
+ - Pytorch 2.0.0
55
+ - Datasets 2.14.5
56
+ - Tokenizers 0.13.3
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<mask>": 64000
3
+ }
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_cer": 24.167687516221125,
4
+ "eval_loss": 0.15863220393657684,
5
+ "eval_runtime": 53.136,
6
+ "eval_samples": 2000,
7
+ "eval_samples_per_second": 37.639,
8
+ "eval_steps_per_second": 2.352,
9
+ "train_loss": 0.1019569671914423,
10
+ "train_runtime": 12051.5325,
11
+ "train_samples": 1019436,
12
+ "train_samples_per_second": 84.59,
13
+ "train_steps_per_second": 0.165
14
+ }
bpe.codes ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/kaggle/working",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "MBartForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.2,
9
+ "bos_token_id": 0,
10
+ "classifier_dropout": 0.4,
11
+ "d_model": 1024,
12
+ "decoder_attention_heads": 16,
13
+ "decoder_ffn_dim": 4096,
14
+ "decoder_layerdrop": 0.0,
15
+ "decoder_layers": 12,
16
+ "decoder_start_token_id": 2,
17
+ "dropout": 0.2,
18
+ "encoder_attention_heads": 16,
19
+ "encoder_ffn_dim": 4096,
20
+ "encoder_layerdrop": 0.0,
21
+ "encoder_layers": 12,
22
+ "eos_token_id": 2,
23
+ "forced_eos_token_id": 2,
24
+ "gradient_checkpointing": false,
25
+ "init_std": 0.02,
26
+ "is_encoder_decoder": true,
27
+ "max_position_embeddings": 1024,
28
+ "model_type": "mbart",
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "scale_embedding": false,
32
+ "tokenizer_class": "PhobertTokenizer",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.33.0",
35
+ "use_cache": true,
36
+ "vocab_size": 64001
37
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_cer": 24.167687516221125,
4
+ "eval_loss": 0.15863220393657684,
5
+ "eval_runtime": 53.136,
6
+ "eval_samples": 2000,
7
+ "eval_samples_per_second": 37.639,
8
+ "eval_steps_per_second": 2.352
9
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "pad_token_id": 1,
8
+ "transformers_version": "4.33.0"
9
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "</s>",
8
+ "unk_token": "<unk>"
9
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "mask_token": "<mask>",
7
+ "model_max_length": 1000000000000000019884624838656,
8
+ "pad_token": "<pad>",
9
+ "sep_token": "</s>",
10
+ "tokenizer_class": "PhobertTokenizer",
11
+ "unk_token": "<unk>"
12
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 0.1019569671914423,
4
+ "train_runtime": 12051.5325,
5
+ "train_samples": 1019436,
6
+ "train_samples_per_second": 84.59,
7
+ "train_steps_per_second": 0.165
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9999529153260613,
5
+ "eval_steps": 10000,
6
+ "global_step": 1991,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.05,
13
+ "learning_rate": 9.497739829231542e-05,
14
+ "loss": 0.1028,
15
+ "step": 100
16
+ },
17
+ {
18
+ "epoch": 0.1,
19
+ "learning_rate": 8.995479658463084e-05,
20
+ "loss": 0.1144,
21
+ "step": 200
22
+ },
23
+ {
24
+ "epoch": 0.15,
25
+ "learning_rate": 8.493219487694626e-05,
26
+ "loss": 0.1181,
27
+ "step": 300
28
+ },
29
+ {
30
+ "epoch": 0.2,
31
+ "learning_rate": 7.990959316926167e-05,
32
+ "loss": 0.1163,
33
+ "step": 400
34
+ },
35
+ {
36
+ "epoch": 0.25,
37
+ "learning_rate": 7.48869914615771e-05,
38
+ "loss": 0.1128,
39
+ "step": 500
40
+ },
41
+ {
42
+ "epoch": 0.3,
43
+ "learning_rate": 6.986438975389252e-05,
44
+ "loss": 0.1126,
45
+ "step": 600
46
+ },
47
+ {
48
+ "epoch": 0.35,
49
+ "learning_rate": 6.484178804620794e-05,
50
+ "loss": 0.1125,
51
+ "step": 700
52
+ },
53
+ {
54
+ "epoch": 0.4,
55
+ "learning_rate": 5.981918633852336e-05,
56
+ "loss": 0.1092,
57
+ "step": 800
58
+ },
59
+ {
60
+ "epoch": 0.45,
61
+ "learning_rate": 5.479658463083878e-05,
62
+ "loss": 0.1047,
63
+ "step": 900
64
+ },
65
+ {
66
+ "epoch": 0.5,
67
+ "learning_rate": 4.977398292315419e-05,
68
+ "loss": 0.1046,
69
+ "step": 1000
70
+ },
71
+ {
72
+ "epoch": 0.55,
73
+ "learning_rate": 4.475138121546962e-05,
74
+ "loss": 0.0999,
75
+ "step": 1100
76
+ },
77
+ {
78
+ "epoch": 0.6,
79
+ "learning_rate": 3.972877950778504e-05,
80
+ "loss": 0.0952,
81
+ "step": 1200
82
+ },
83
+ {
84
+ "epoch": 0.65,
85
+ "learning_rate": 3.470617780010045e-05,
86
+ "loss": 0.0928,
87
+ "step": 1300
88
+ },
89
+ {
90
+ "epoch": 0.7,
91
+ "learning_rate": 2.968357609241587e-05,
92
+ "loss": 0.0945,
93
+ "step": 1400
94
+ },
95
+ {
96
+ "epoch": 0.75,
97
+ "learning_rate": 2.466097438473129e-05,
98
+ "loss": 0.0916,
99
+ "step": 1500
100
+ },
101
+ {
102
+ "epoch": 0.8,
103
+ "learning_rate": 1.963837267704671e-05,
104
+ "loss": 0.0914,
105
+ "step": 1600
106
+ },
107
+ {
108
+ "epoch": 0.85,
109
+ "learning_rate": 1.4615770969362131e-05,
110
+ "loss": 0.0917,
111
+ "step": 1700
112
+ },
113
+ {
114
+ "epoch": 0.9,
115
+ "learning_rate": 9.59316926167755e-06,
116
+ "loss": 0.0912,
117
+ "step": 1800
118
+ },
119
+ {
120
+ "epoch": 0.95,
121
+ "learning_rate": 4.5705675539929685e-06,
122
+ "loss": 0.0914,
123
+ "step": 1900
124
+ },
125
+ {
126
+ "epoch": 1.0,
127
+ "step": 1991,
128
+ "total_flos": 4.238662023983923e+16,
129
+ "train_loss": 0.1019569671914423,
130
+ "train_runtime": 12051.5325,
131
+ "train_samples_per_second": 84.59,
132
+ "train_steps_per_second": 0.165
133
+ }
134
+ ],
135
+ "logging_steps": 100,
136
+ "max_steps": 1991,
137
+ "num_train_epochs": 1,
138
+ "save_steps": 500,
139
+ "total_flos": 4.238662023983923e+16,
140
+ "trial_name": null,
141
+ "trial_params": null
142
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6669c554346b49f4a3a14475253ec39c3d66c9c9219e5c6a9b46277ebe79c6d9
3
+ size 4219
vocab.txt ADDED
The diff for this file is too large to render. See raw diff