abdulllah01 commited on
Commit
c3aa1a4
·
verified ·
1 Parent(s): 76a5aef

Upload python KD Optuna tinyBERT checkpoint

Browse files
checkpoints/python/config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "cell": {},
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "emb_size": 312,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 312,
13
+ "id2label": {
14
+ "0": "Usage",
15
+ "1": "Parameters",
16
+ "2": "DevelopmentNotes",
17
+ "3": "Expand",
18
+ "4": "Summary"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 1200,
22
+ "label2id": {
23
+ "DevelopmentNotes": 2,
24
+ "Expand": 3,
25
+ "Parameters": 1,
26
+ "Summary": 4,
27
+ "Usage": 0
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 4,
34
+ "pad_token_id": 0,
35
+ "position_embedding_type": "absolute",
36
+ "pre_trained": "",
37
+ "problem_type": "multi_label_classification",
38
+ "structure": [],
39
+ "transformers_version": "4.57.3",
40
+ "type_vocab_size": 2,
41
+ "use_cache": true,
42
+ "vocab_size": 30522
43
+ }
checkpoints/python/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e50ac57d20c88ba7b10194c7e4218f093a31ccd6230f6e794d076f4e47dd3fae
3
+ size 57415564
checkpoints/python/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
+ }
checkpoints/python/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/python/tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
checkpoints/python/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee8cfbe6bb7cdeb438d7ec3635776340a0429ee5fc17971aa6dc4c03a5b08c80
3
+ size 5969
checkpoints/python/trial_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "lr": 5.438112213347008e-05,
3
+ "batch_size": 32,
4
+ "epochs": 29,
5
+ "temperature": 4.205525533969048,
6
+ "lambda_hard": 0.09480329121907696
7
+ }
checkpoints/python/trial_metrics.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 11.148098945617676,
3
+ "eval_macro_f1": 0.5715151384722987,
4
+ "eval_micro_f1": 0.6088328075709779,
5
+ "eval_macro_precision": 0.6012552083209208,
6
+ "eval_macro_recall": 0.560784432940894,
7
+ "eval_thresholds": {
8
+ "Usage": 0.44000000000000006,
9
+ "Parameters": 0.5000000000000001,
10
+ "DevelopmentNotes": 0.44000000000000006,
11
+ "Expand": 0.4,
12
+ "Summary": 0.4800000000000001
13
+ },
14
+ "eval_f1_Usage": 0.6703296703296703,
15
+ "eval_f1_Parameters": 0.7209302325581395,
16
+ "eval_f1_DevelopmentNotes": 0.44,
17
+ "eval_f1_Expand": 0.5,
18
+ "eval_f1_Summary": 0.5263157894736842,
19
+ "eval_runtime": 0.2264,
20
+ "eval_samples_per_second": 1280.743,
21
+ "eval_steps_per_second": 44.164,
22
+ "epoch": 29.0
23
+ }
checkpoints/python/vocab.txt ADDED
The diff for this file is too large to render. See raw diff