Maaz911 commited on
Commit
e78e2dd
·
verified ·
1 Parent(s): 324142d

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
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
+ "pad_token_id": 0,
39
+ "qa_dropout": 0.1,
40
+ "seq_classif_dropout": 0.2,
41
+ "sinusoidal_pos_embds": false,
42
+ "tie_weights_": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.43.2",
45
+ "vocab_size": 30522
46
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681783b51ca9752e3833d344ed937dc4b0c84fe6458aa8854f79e55a54514b2f
3
+ size 265491548
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd060caa81225e1127ba0d40d39327a30aadbefd0ad648ccb5aafe1cf51e1e2
3
+ size 531043898
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43f803cb6d0ed883097f9f31a95f18492532f6f98c4007f0328f88814099c707
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
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.551333904266357,
14
+ "learning_rate": 1.810174639331815e-05,
15
+ "loss": 0.2775,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.5694760820045558,
20
+ "grad_norm": 0.47765791416168213,
21
+ "learning_rate": 1.6203492786636296e-05,
22
+ "loss": 0.096,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.8542141230068337,
27
+ "grad_norm": 2.6445720195770264,
28
+ "learning_rate": 1.4305239179954442e-05,
29
+ "loss": 0.0765,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.9827791634231973,
35
+ "eval_f1": 0.9163957656080687,
36
+ "eval_loss": 0.06094542145729065,
37
+ "eval_precision": 0.9078447563996697,
38
+ "eval_recall": 0.925109390777516,
39
+ "eval_runtime": 6.5104,
40
+ "eval_samples_per_second": 499.199,
41
+ "eval_steps_per_second": 62.515,
42
+ "step": 1756
43
+ },
44
+ {
45
+ "epoch": 1.1389521640091116,
46
+ "grad_norm": 6.109570026397705,
47
+ "learning_rate": 1.240698557327259e-05,
48
+ "loss": 0.0578,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 1.4236902050113895,
53
+ "grad_norm": 1.6886531114578247,
54
+ "learning_rate": 1.0508731966590738e-05,
55
+ "loss": 0.0428,
56
+ "step": 2500
57
+ },
58
+ {
59
+ "epoch": 1.7084282460136673,
60
+ "grad_norm": 2.353813648223877,
61
+ "learning_rate": 8.610478359908885e-06,
62
+ "loss": 0.0427,
63
+ "step": 3000
64
+ },
65
+ {
66
+ "epoch": 1.9931662870159452,
67
+ "grad_norm": 7.191911220550537,
68
+ "learning_rate": 6.712224753227031e-06,
69
+ "loss": 0.0347,
70
+ "step": 3500
71
+ },
72
+ {
73
+ "epoch": 2.0,
74
+ "eval_accuracy": 0.9854957345068073,
75
+ "eval_f1": 0.9329772139220431,
76
+ "eval_loss": 0.057699523866176605,
77
+ "eval_precision": 0.9254843517138599,
78
+ "eval_recall": 0.9405923931336251,
79
+ "eval_runtime": 6.8321,
80
+ "eval_samples_per_second": 475.697,
81
+ "eval_steps_per_second": 59.572,
82
+ "step": 3512
83
+ },
84
+ {
85
+ "epoch": 2.277904328018223,
86
+ "grad_norm": 0.13887672126293182,
87
+ "learning_rate": 4.8139711465451785e-06,
88
+ "loss": 0.023,
89
+ "step": 4000
90
+ },
91
+ {
92
+ "epoch": 2.562642369020501,
93
+ "grad_norm": 0.30556178092956543,
94
+ "learning_rate": 2.9157175398633257e-06,
95
+ "loss": 0.0213,
96
+ "step": 4500
97
+ },
98
+ {
99
+ "epoch": 2.847380410022779,
100
+ "grad_norm": 1.6076356172561646,
101
+ "learning_rate": 1.0174639331814731e-06,
102
+ "loss": 0.0225,
103
+ "step": 5000
104
+ },
105
+ {
106
+ "epoch": 3.0,
107
+ "eval_accuracy": 0.9857658029771077,
108
+ "eval_f1": 0.9344248600785231,
109
+ "eval_loss": 0.059937961399555206,
110
+ "eval_precision": 0.9276828661469564,
111
+ "eval_recall": 0.941265567149108,
112
+ "eval_runtime": 6.7177,
113
+ "eval_samples_per_second": 483.793,
114
+ "eval_steps_per_second": 60.586,
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": 445994355589020.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:65dc89b7daf6b4183da6a9d023e3011778d95bab53ef78bb43b48061ed2fcaf3
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff