Sarvina commited on
Commit
00d02ce
·
verified ·
1 Parent(s): 8be193d

Upload 11 files

Browse files
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-PER",
14
+ "2": "I-PER",
15
+ "3": "B-ORG",
16
+ "4": "I-ORG",
17
+ "5": "B-LOC",
18
+ "6": "I-LOC",
19
+ "7": "B-MISC",
20
+ "8": "I-MISC"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "B-LOC": 5,
25
+ "B-MISC": 7,
26
+ "B-ORG": 3,
27
+ "B-PER": 1,
28
+ "I-LOC": 6,
29
+ "I-MISC": 8,
30
+ "I-ORG": 4,
31
+ "I-PER": 2,
32
+ "O": 0
33
+ },
34
+ "max_position_embeddings": 512,
35
+ "model_type": "distilbert",
36
+ "n_heads": 12,
37
+ "n_layers": 6,
38
+ "output_past": true,
39
+ "pad_token_id": 0,
40
+ "qa_dropout": 0.1,
41
+ "seq_classif_dropout": 0.2,
42
+ "sinusoidal_pos_embds": false,
43
+ "tie_weights_": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.46.1",
46
+ "vocab_size": 28996
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51328e494916fee221fd02bc98e25cabdd998921b843034706648674a13a3b9b
3
+ size 260803668
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c97166a89baddc253ae9d1b5a3443117f2168400f9b2b37de0d8f15d09f2752
3
+ size 521668154
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f8d2fcd16bbaf227a4ae4dbdfc68aff27fe79a29171974feecb6651a80e97d0
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:978877cae901ec2c46d434efe80b38f1ca497bc6de28bf3a2c1989cef39a6762
3
+ size 1064
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,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5268,
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.2847380410022779,
13
+ "grad_norm": 7.928560256958008,
14
+ "learning_rate": 1.810174639331815e-05,
15
+ "loss": 0.2906,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.5694760820045558,
20
+ "grad_norm": 0.12530961632728577,
21
+ "learning_rate": 1.6203492786636296e-05,
22
+ "loss": 0.1285,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.8542141230068337,
27
+ "grad_norm": 2.731761932373047,
28
+ "learning_rate": 1.4305239179954442e-05,
29
+ "loss": 0.0912,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.9761288043798199,
35
+ "eval_f1": 0.8952098276857119,
36
+ "eval_loss": 0.08535858988761902,
37
+ "eval_precision": 0.8774850492969128,
38
+ "eval_recall": 0.913665432514305,
39
+ "eval_runtime": 6.7803,
40
+ "eval_samples_per_second": 479.332,
41
+ "eval_steps_per_second": 60.027,
42
+ "step": 1756
43
+ },
44
+ {
45
+ "epoch": 1.1389521640091116,
46
+ "grad_norm": 0.34379810094833374,
47
+ "learning_rate": 1.240698557327259e-05,
48
+ "loss": 0.0756,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 1.4236902050113895,
53
+ "grad_norm": 0.34557342529296875,
54
+ "learning_rate": 1.0508731966590738e-05,
55
+ "loss": 0.055,
56
+ "step": 2500
57
+ },
58
+ {
59
+ "epoch": 1.7084282460136673,
60
+ "grad_norm": 0.9085732102394104,
61
+ "learning_rate": 8.610478359908885e-06,
62
+ "loss": 0.0546,
63
+ "step": 3000
64
+ },
65
+ {
66
+ "epoch": 1.9931662870159452,
67
+ "grad_norm": 2.8519742488861084,
68
+ "learning_rate": 6.712224753227031e-06,
69
+ "loss": 0.0464,
70
+ "step": 3500
71
+ },
72
+ {
73
+ "epoch": 2.0,
74
+ "eval_accuracy": 0.9827367987284394,
75
+ "eval_f1": 0.9272848565710473,
76
+ "eval_loss": 0.06802816689014435,
77
+ "eval_precision": 0.9190082644628099,
78
+ "eval_recall": 0.9357118815213733,
79
+ "eval_runtime": 6.6043,
80
+ "eval_samples_per_second": 492.101,
81
+ "eval_steps_per_second": 61.626,
82
+ "step": 3512
83
+ },
84
+ {
85
+ "epoch": 2.277904328018223,
86
+ "grad_norm": 2.584799289703369,
87
+ "learning_rate": 4.8139711465451785e-06,
88
+ "loss": 0.0312,
89
+ "step": 4000
90
+ },
91
+ {
92
+ "epoch": 2.562642369020501,
93
+ "grad_norm": 0.4364319145679474,
94
+ "learning_rate": 2.9157175398633257e-06,
95
+ "loss": 0.0278,
96
+ "step": 4500
97
+ },
98
+ {
99
+ "epoch": 2.847380410022779,
100
+ "grad_norm": 0.10701252520084381,
101
+ "learning_rate": 1.0174639331814731e-06,
102
+ "loss": 0.0292,
103
+ "step": 5000
104
+ },
105
+ {
106
+ "epoch": 3.0,
107
+ "eval_accuracy": 0.983354918467063,
108
+ "eval_f1": 0.9289044289044289,
109
+ "eval_loss": 0.07014655321836472,
110
+ "eval_precision": 0.9191103789126853,
111
+ "eval_recall": 0.9389094580949175,
112
+ "eval_runtime": 6.9523,
113
+ "eval_samples_per_second": 467.471,
114
+ "eval_steps_per_second": 58.542,
115
+ "step": 5268
116
+ }
117
+ ],
118
+ "logging_steps": 500,
119
+ "max_steps": 5268,
120
+ "num_input_tokens_seen": 0,
121
+ "num_train_epochs": 3,
122
+ "save_steps": 500,
123
+ "stateful_callbacks": {
124
+ "TrainerControl": {
125
+ "args": {
126
+ "should_epoch_stop": false,
127
+ "should_evaluate": false,
128
+ "should_log": false,
129
+ "should_save": true,
130
+ "should_training_stop": true
131
+ },
132
+ "attributes": {}
133
+ }
134
+ },
135
+ "total_flos": 460431563935266.0,
136
+ "train_batch_size": 8,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9606cd16377eb86788c1f296de2538082ff67bd7e82666b94d59cb97cb395db
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff