Amirmohammad Shahbandegan commited on
Commit
ce90a79
1 Parent(s): cc2d246

First model

Browse files
README.md CHANGED
@@ -1,3 +1,54 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: '57426955'
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # 57426955
13
+
14
+ This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on the None dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Loss: 1.4779
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 5e-05
36
+ - train_batch_size: 12
37
+ - eval_batch_size: 16
38
+ - seed: 1337
39
+ - gradient_accumulation_steps: 2
40
+ - total_train_batch_size: 24
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 3.0
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.11.2
52
+ - Pytorch 1.10.0
53
+ - Datasets 1.8.0
54
+ - Tokenizers 0.10.3
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 1.4779146909713745,
4
+ "eval_runtime": 627.5406,
5
+ "eval_samples": 10042,
6
+ "eval_samples_per_second": 16.002,
7
+ "eval_steps_per_second": 1.001,
8
+ "perplexity": 4.383794576384671,
9
+ "train_loss": 1.5310567042443597,
10
+ "train_runtime": 46665.3959,
11
+ "train_samples": 109963,
12
+ "train_samples_per_second": 7.069,
13
+ "train_steps_per_second": 0.295
14
+ }
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-multilingual-cased",
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "pooler_fc_size": 768,
21
+ "pooler_num_attention_heads": 12,
22
+ "pooler_num_fc_layers": 3,
23
+ "pooler_size_per_head": 128,
24
+ "pooler_type": "first_token_transform",
25
+ "position_embedding_type": "absolute",
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.11.2",
28
+ "type_vocab_size": 2,
29
+ "use_cache": true,
30
+ "vocab_size": 119547
31
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 1.4779146909713745,
4
+ "eval_runtime": 627.5406,
5
+ "eval_samples": 10042,
6
+ "eval_samples_per_second": 16.002,
7
+ "eval_steps_per_second": 1.001,
8
+ "perplexity": 4.383794576384671
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54bfd8f492f818cc11747e1e925a0239e1065d4e84f1d53b91685f946b67d62a
3
+ size 711982891
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "name_or_path": "bert-base-multilingual-cased", "tokenizer_class": "BertTokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 1.5310567042443597,
4
+ "train_runtime": 46665.3959,
5
+ "train_samples": 109963,
6
+ "train_samples_per_second": 7.069,
7
+ "train_steps_per_second": 0.295
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 13746,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.11,
12
+ "learning_rate": 4.8181289102284306e-05,
13
+ "loss": 2.1559,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.22,
18
+ "learning_rate": 4.63625782045686e-05,
19
+ "loss": 1.9084,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.33,
24
+ "learning_rate": 4.4543867306852907e-05,
25
+ "loss": 1.8072,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.44,
30
+ "learning_rate": 4.272515640913721e-05,
31
+ "loss": 1.7445,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.55,
36
+ "learning_rate": 4.090644551142151e-05,
37
+ "loss": 1.6868,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.65,
42
+ "learning_rate": 3.9087734613705804e-05,
43
+ "loss": 1.659,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.76,
48
+ "learning_rate": 3.726902371599011e-05,
49
+ "loss": 1.6168,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.87,
54
+ "learning_rate": 3.545031281827441e-05,
55
+ "loss": 1.5922,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.98,
60
+ "learning_rate": 3.363160192055871e-05,
61
+ "loss": 1.5692,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.09,
66
+ "learning_rate": 3.181289102284301e-05,
67
+ "loss": 1.5414,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 1.2,
72
+ "learning_rate": 2.9994180125127312e-05,
73
+ "loss": 1.5159,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 1.31,
78
+ "learning_rate": 2.817546922741161e-05,
79
+ "loss": 1.5054,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 1.42,
84
+ "learning_rate": 2.6356758329695913e-05,
85
+ "loss": 1.4857,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 1.53,
90
+ "learning_rate": 2.4538047431980213e-05,
91
+ "loss": 1.4778,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 1.64,
96
+ "learning_rate": 2.2719336534264517e-05,
97
+ "loss": 1.4614,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 1.75,
102
+ "learning_rate": 2.0900625636548813e-05,
103
+ "loss": 1.4475,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 1.86,
108
+ "learning_rate": 1.9081914738833114e-05,
109
+ "loss": 1.4312,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 1.96,
114
+ "learning_rate": 1.7263203841117417e-05,
115
+ "loss": 1.4272,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 2.07,
120
+ "learning_rate": 1.5444492943401718e-05,
121
+ "loss": 1.4061,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 2.18,
126
+ "learning_rate": 1.362578204568602e-05,
127
+ "loss": 1.3994,
128
+ "step": 10000
129
+ },
130
+ {
131
+ "epoch": 2.29,
132
+ "learning_rate": 1.180707114797032e-05,
133
+ "loss": 1.3973,
134
+ "step": 10500
135
+ },
136
+ {
137
+ "epoch": 2.4,
138
+ "learning_rate": 9.98836025025462e-06,
139
+ "loss": 1.3753,
140
+ "step": 11000
141
+ },
142
+ {
143
+ "epoch": 2.51,
144
+ "learning_rate": 8.16964935253892e-06,
145
+ "loss": 1.3756,
146
+ "step": 11500
147
+ },
148
+ {
149
+ "epoch": 2.62,
150
+ "learning_rate": 6.3509384548232216e-06,
151
+ "loss": 1.3687,
152
+ "step": 12000
153
+ },
154
+ {
155
+ "epoch": 2.73,
156
+ "learning_rate": 4.532227557107523e-06,
157
+ "loss": 1.361,
158
+ "step": 12500
159
+ },
160
+ {
161
+ "epoch": 2.84,
162
+ "learning_rate": 2.713516659391823e-06,
163
+ "loss": 1.3533,
164
+ "step": 13000
165
+ },
166
+ {
167
+ "epoch": 2.95,
168
+ "learning_rate": 8.948057616761241e-07,
169
+ "loss": 1.3555,
170
+ "step": 13500
171
+ },
172
+ {
173
+ "epoch": 3.0,
174
+ "step": 13746,
175
+ "total_flos": 8.69185921169664e+16,
176
+ "train_loss": 1.5310567042443597,
177
+ "train_runtime": 46665.3959,
178
+ "train_samples_per_second": 7.069,
179
+ "train_steps_per_second": 0.295
180
+ }
181
+ ],
182
+ "max_steps": 13746,
183
+ "num_train_epochs": 3,
184
+ "total_flos": 8.69185921169664e+16,
185
+ "trial_name": null,
186
+ "trial_params": null
187
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b91a941f6e95564c63e27127b1f465c789f939765eca53e8b14d9ec705eabeb
3
+ size 2863
vocab.txt ADDED
The diff for this file is too large to render. See raw diff