logoyazilim commited on
Commit
a7c3348
1 Parent(s): 6dc650b

Upload 14 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ eval_nbest_predictions.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: savasy/bert-base-turkish-squad
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - squad
7
+ model-index:
8
+ - name: debug_squad
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
+ # debug_squad
16
+
17
+ This model is a fine-tuned version of [savasy/bert-base-turkish-squad](https://huggingface.co/savasy/bert-base-turkish-squad) on the squad dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 3e-05
37
+ - train_batch_size: 16
38
+ - eval_batch_size: 8
39
+ - seed: 42
40
+ - gradient_accumulation_steps: 2
41
+ - total_train_batch_size: 32
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 8.0
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.33.3
53
+ - Pytorch 1.12.1+cu116
54
+ - Datasets 2.14.5
55
+ - Tokenizers 0.12.1
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_exact_match": 2.563859981078524,
4
+ "eval_f1": 19.320258630812454,
5
+ "eval_runtime": 649.8647,
6
+ "eval_samples": 11143,
7
+ "eval_samples_per_second": 17.147,
8
+ "eval_steps_per_second": 2.144,
9
+ "train_loss": 0.4928509355450291,
10
+ "train_runtime": 318615.5226,
11
+ "train_samples": 84377,
12
+ "train_samples_per_second": 2.119,
13
+ "train_steps_per_second": 0.066
14
+ }
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "savasy/bert-base-turkish-squad",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "BertForQuestionAnswering"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
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
+ "output_past": true,
20
+ "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.33.3",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 32000
27
+ }
eval_nbest_predictions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab06e7c58a27c18cfa485f00337306679827584e8a01349bdf811d2d8eddb444
3
+ size 48627108
eval_predictions.json ADDED
The diff for this file is too large to render. See raw diff
 
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_exact_match": 2.563859981078524,
4
+ "eval_f1": 19.320258630812454,
5
+ "eval_runtime": 649.8647,
6
+ "eval_samples": 11143,
7
+ "eval_samples_per_second": 17.147,
8
+ "eval_steps_per_second": 2.144
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4441ee75e2f0f52e4582185c6a4369fe9d0a0b3011ca7a02a36e7f6845e891b2
3
+ size 440179187
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": false,
6
+ "mask_token": "[MASK]",
7
+ "max_len": 512,
8
+ "model_max_length": 512,
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "train_loss": 0.4928509355450291,
4
+ "train_runtime": 318615.5226,
5
+ "train_samples": 84377,
6
+ "train_samples_per_second": 2.119,
7
+ "train_steps_per_second": 0.066
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 21096,
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.19,
13
+ "learning_rate": 2.928896473265074e-05,
14
+ "loss": 1.6912,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.38,
19
+ "learning_rate": 2.857792946530148e-05,
20
+ "loss": 1.36,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.57,
25
+ "learning_rate": 2.786689419795222e-05,
26
+ "loss": 1.237,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 0.76,
31
+ "learning_rate": 2.7155858930602956e-05,
32
+ "loss": 1.1394,
33
+ "step": 2000
34
+ },
35
+ {
36
+ "epoch": 0.95,
37
+ "learning_rate": 2.6444823663253697e-05,
38
+ "loss": 1.0594,
39
+ "step": 2500
40
+ },
41
+ {
42
+ "epoch": 1.14,
43
+ "learning_rate": 2.5733788395904438e-05,
44
+ "loss": 0.8891,
45
+ "step": 3000
46
+ },
47
+ {
48
+ "epoch": 1.33,
49
+ "learning_rate": 2.5022753128555175e-05,
50
+ "loss": 0.8156,
51
+ "step": 3500
52
+ },
53
+ {
54
+ "epoch": 1.52,
55
+ "learning_rate": 2.4311717861205915e-05,
56
+ "loss": 0.8065,
57
+ "step": 4000
58
+ },
59
+ {
60
+ "epoch": 1.71,
61
+ "learning_rate": 2.3600682593856656e-05,
62
+ "loss": 0.7831,
63
+ "step": 4500
64
+ },
65
+ {
66
+ "epoch": 1.9,
67
+ "learning_rate": 2.2889647326507393e-05,
68
+ "loss": 0.7783,
69
+ "step": 5000
70
+ },
71
+ {
72
+ "epoch": 2.09,
73
+ "learning_rate": 2.2178612059158134e-05,
74
+ "loss": 0.6703,
75
+ "step": 5500
76
+ },
77
+ {
78
+ "epoch": 2.28,
79
+ "learning_rate": 2.1467576791808874e-05,
80
+ "loss": 0.5749,
81
+ "step": 6000
82
+ },
83
+ {
84
+ "epoch": 2.46,
85
+ "learning_rate": 2.0756541524459615e-05,
86
+ "loss": 0.5753,
87
+ "step": 6500
88
+ },
89
+ {
90
+ "epoch": 2.65,
91
+ "learning_rate": 2.0045506257110356e-05,
92
+ "loss": 0.5737,
93
+ "step": 7000
94
+ },
95
+ {
96
+ "epoch": 2.84,
97
+ "learning_rate": 1.9334470989761093e-05,
98
+ "loss": 0.5586,
99
+ "step": 7500
100
+ },
101
+ {
102
+ "epoch": 3.03,
103
+ "learning_rate": 1.8623435722411833e-05,
104
+ "loss": 0.5575,
105
+ "step": 8000
106
+ },
107
+ {
108
+ "epoch": 3.22,
109
+ "learning_rate": 1.7912400455062574e-05,
110
+ "loss": 0.4159,
111
+ "step": 8500
112
+ },
113
+ {
114
+ "epoch": 3.41,
115
+ "learning_rate": 1.720136518771331e-05,
116
+ "loss": 0.4276,
117
+ "step": 9000
118
+ },
119
+ {
120
+ "epoch": 3.6,
121
+ "learning_rate": 1.6490329920364052e-05,
122
+ "loss": 0.4327,
123
+ "step": 9500
124
+ },
125
+ {
126
+ "epoch": 3.79,
127
+ "learning_rate": 1.577929465301479e-05,
128
+ "loss": 0.4234,
129
+ "step": 10000
130
+ },
131
+ {
132
+ "epoch": 3.98,
133
+ "learning_rate": 1.506825938566553e-05,
134
+ "loss": 0.416,
135
+ "step": 10500
136
+ },
137
+ {
138
+ "epoch": 4.17,
139
+ "learning_rate": 1.4357224118316269e-05,
140
+ "loss": 0.3128,
141
+ "step": 11000
142
+ },
143
+ {
144
+ "epoch": 4.36,
145
+ "learning_rate": 1.3646188850967009e-05,
146
+ "loss": 0.3144,
147
+ "step": 11500
148
+ },
149
+ {
150
+ "epoch": 4.55,
151
+ "learning_rate": 1.2935153583617748e-05,
152
+ "loss": 0.3135,
153
+ "step": 12000
154
+ },
155
+ {
156
+ "epoch": 4.74,
157
+ "learning_rate": 1.2224118316268487e-05,
158
+ "loss": 0.3115,
159
+ "step": 12500
160
+ },
161
+ {
162
+ "epoch": 4.93,
163
+ "learning_rate": 1.1513083048919226e-05,
164
+ "loss": 0.3198,
165
+ "step": 13000
166
+ },
167
+ {
168
+ "epoch": 5.12,
169
+ "learning_rate": 1.0802047781569966e-05,
170
+ "loss": 0.2544,
171
+ "step": 13500
172
+ },
173
+ {
174
+ "epoch": 5.31,
175
+ "learning_rate": 1.0091012514220705e-05,
176
+ "loss": 0.2404,
177
+ "step": 14000
178
+ },
179
+ {
180
+ "epoch": 5.5,
181
+ "learning_rate": 9.379977246871444e-06,
182
+ "loss": 0.2351,
183
+ "step": 14500
184
+ },
185
+ {
186
+ "epoch": 5.69,
187
+ "learning_rate": 8.668941979522185e-06,
188
+ "loss": 0.2271,
189
+ "step": 15000
190
+ },
191
+ {
192
+ "epoch": 5.88,
193
+ "learning_rate": 7.957906712172924e-06,
194
+ "loss": 0.235,
195
+ "step": 15500
196
+ },
197
+ {
198
+ "epoch": 6.07,
199
+ "learning_rate": 7.2468714448236635e-06,
200
+ "loss": 0.2172,
201
+ "step": 16000
202
+ },
203
+ {
204
+ "epoch": 6.26,
205
+ "learning_rate": 6.535836177474403e-06,
206
+ "loss": 0.18,
207
+ "step": 16500
208
+ },
209
+ {
210
+ "epoch": 6.45,
211
+ "learning_rate": 5.824800910125142e-06,
212
+ "loss": 0.1726,
213
+ "step": 17000
214
+ },
215
+ {
216
+ "epoch": 6.64,
217
+ "learning_rate": 5.113765642775882e-06,
218
+ "loss": 0.1829,
219
+ "step": 17500
220
+ },
221
+ {
222
+ "epoch": 6.83,
223
+ "learning_rate": 4.402730375426621e-06,
224
+ "loss": 0.1828,
225
+ "step": 18000
226
+ },
227
+ {
228
+ "epoch": 7.02,
229
+ "learning_rate": 3.691695108077361e-06,
230
+ "loss": 0.1771,
231
+ "step": 18500
232
+ },
233
+ {
234
+ "epoch": 7.21,
235
+ "learning_rate": 2.9806598407281003e-06,
236
+ "loss": 0.1421,
237
+ "step": 19000
238
+ },
239
+ {
240
+ "epoch": 7.39,
241
+ "learning_rate": 2.2696245733788397e-06,
242
+ "loss": 0.1398,
243
+ "step": 19500
244
+ },
245
+ {
246
+ "epoch": 7.58,
247
+ "learning_rate": 1.5585893060295792e-06,
248
+ "loss": 0.1439,
249
+ "step": 20000
250
+ },
251
+ {
252
+ "epoch": 7.77,
253
+ "learning_rate": 8.475540386803185e-07,
254
+ "loss": 0.14,
255
+ "step": 20500
256
+ },
257
+ {
258
+ "epoch": 7.96,
259
+ "learning_rate": 1.36518771331058e-07,
260
+ "loss": 0.1385,
261
+ "step": 21000
262
+ },
263
+ {
264
+ "epoch": 8.0,
265
+ "step": 21096,
266
+ "total_flos": 1.7637949154490778e+17,
267
+ "train_loss": 0.4928509355450291,
268
+ "train_runtime": 318615.5226,
269
+ "train_samples_per_second": 2.119,
270
+ "train_steps_per_second": 0.066
271
+ }
272
+ ],
273
+ "logging_steps": 500,
274
+ "max_steps": 21096,
275
+ "num_train_epochs": 8,
276
+ "save_steps": 500,
277
+ "total_flos": 1.7637949154490778e+17,
278
+ "trial_name": null,
279
+ "trial_params": null
280
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:896c559d97af0e7cf0355920950b1e1ba76a427fc802178376378a2639fcf2a6
3
+ size 4015
vocab.txt ADDED
The diff for this file is too large to render. See raw diff