prachuryyaIITG commited on
Commit
b94d72f
·
verified ·
1 Parent(s): a2ea8b8

Upload 6 files

Browse files
config.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/muril-large-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 1024,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "B-AerospaceManufacturer",
14
+ "1": "B-AnatomicalStructure",
15
+ "2": "B-ArtWork",
16
+ "3": "B-Artist",
17
+ "4": "B-Athlete",
18
+ "5": "B-CarManufacturer",
19
+ "6": "B-Cleric",
20
+ "7": "B-Clothing",
21
+ "8": "B-Disease",
22
+ "9": "B-Drink",
23
+ "10": "B-Facility",
24
+ "11": "B-Food",
25
+ "12": "B-HumanSettlement",
26
+ "13": "B-MedicalProcedure",
27
+ "14": "B-Medication/Vaccine",
28
+ "15": "B-MusicalGRP",
29
+ "16": "B-MusicalWork",
30
+ "17": "B-ORG",
31
+ "18": "B-OtherLOC",
32
+ "19": "B-OtherPER",
33
+ "20": "B-OtherPROD",
34
+ "21": "B-Politician",
35
+ "22": "B-PrivateCorp",
36
+ "23": "B-PublicCorp",
37
+ "24": "B-Scientist",
38
+ "25": "B-Software",
39
+ "26": "B-SportsGRP",
40
+ "27": "B-SportsManager",
41
+ "28": "B-Station",
42
+ "29": "B-Symptom",
43
+ "30": "B-Vehicle",
44
+ "31": "B-VisualWork",
45
+ "32": "B-WrittenWork",
46
+ "33": "I-AerospaceManufacturer",
47
+ "34": "I-AnatomicalStructure",
48
+ "35": "I-ArtWork",
49
+ "36": "I-Artist",
50
+ "37": "I-Athlete",
51
+ "38": "I-CarManufacturer",
52
+ "39": "I-Cleric",
53
+ "40": "I-Clothing",
54
+ "41": "I-Disease",
55
+ "42": "I-Drink",
56
+ "43": "I-Facility",
57
+ "44": "I-Food",
58
+ "45": "I-HumanSettlement",
59
+ "46": "I-MedicalProcedure",
60
+ "47": "I-Medication/Vaccine",
61
+ "48": "I-MusicalGRP",
62
+ "49": "I-MusicalWork",
63
+ "50": "I-ORG",
64
+ "51": "I-OtherLOC",
65
+ "52": "I-OtherPER",
66
+ "53": "I-OtherPROD",
67
+ "54": "I-Politician",
68
+ "55": "I-PrivateCorp",
69
+ "56": "I-PublicCorp",
70
+ "57": "I-Scientist",
71
+ "58": "I-Software",
72
+ "59": "I-SportsGRP",
73
+ "60": "I-SportsManager",
74
+ "61": "I-Station",
75
+ "62": "I-Symptom",
76
+ "63": "I-Vehicle",
77
+ "64": "I-VisualWork",
78
+ "65": "I-WrittenWork",
79
+ "66": "O"
80
+ },
81
+ "initializer_range": 0.02,
82
+ "intermediate_size": 4096,
83
+ "label2id": {
84
+ "B-AerospaceManufacturer": 0,
85
+ "B-AnatomicalStructure": 1,
86
+ "B-ArtWork": 2,
87
+ "B-Artist": 3,
88
+ "B-Athlete": 4,
89
+ "B-CarManufacturer": 5,
90
+ "B-Cleric": 6,
91
+ "B-Clothing": 7,
92
+ "B-Disease": 8,
93
+ "B-Drink": 9,
94
+ "B-Facility": 10,
95
+ "B-Food": 11,
96
+ "B-HumanSettlement": 12,
97
+ "B-MedicalProcedure": 13,
98
+ "B-Medication/Vaccine": 14,
99
+ "B-MusicalGRP": 15,
100
+ "B-MusicalWork": 16,
101
+ "B-ORG": 17,
102
+ "B-OtherLOC": 18,
103
+ "B-OtherPER": 19,
104
+ "B-OtherPROD": 20,
105
+ "B-Politician": 21,
106
+ "B-PrivateCorp": 22,
107
+ "B-PublicCorp": 23,
108
+ "B-Scientist": 24,
109
+ "B-Software": 25,
110
+ "B-SportsGRP": 26,
111
+ "B-SportsManager": 27,
112
+ "B-Station": 28,
113
+ "B-Symptom": 29,
114
+ "B-Vehicle": 30,
115
+ "B-VisualWork": 31,
116
+ "B-WrittenWork": 32,
117
+ "I-AerospaceManufacturer": 33,
118
+ "I-AnatomicalStructure": 34,
119
+ "I-ArtWork": 35,
120
+ "I-Artist": 36,
121
+ "I-Athlete": 37,
122
+ "I-CarManufacturer": 38,
123
+ "I-Cleric": 39,
124
+ "I-Clothing": 40,
125
+ "I-Disease": 41,
126
+ "I-Drink": 42,
127
+ "I-Facility": 43,
128
+ "I-Food": 44,
129
+ "I-HumanSettlement": 45,
130
+ "I-MedicalProcedure": 46,
131
+ "I-Medication/Vaccine": 47,
132
+ "I-MusicalGRP": 48,
133
+ "I-MusicalWork": 49,
134
+ "I-ORG": 50,
135
+ "I-OtherLOC": 51,
136
+ "I-OtherPER": 52,
137
+ "I-OtherPROD": 53,
138
+ "I-Politician": 54,
139
+ "I-PrivateCorp": 55,
140
+ "I-PublicCorp": 56,
141
+ "I-Scientist": 57,
142
+ "I-Software": 58,
143
+ "I-SportsGRP": 59,
144
+ "I-SportsManager": 60,
145
+ "I-Station": 61,
146
+ "I-Symptom": 62,
147
+ "I-Vehicle": 63,
148
+ "I-VisualWork": 64,
149
+ "I-WrittenWork": 65,
150
+ "O": 66
151
+ },
152
+ "layer_norm_eps": 1e-12,
153
+ "max_position_embeddings": 512,
154
+ "model_type": "bert",
155
+ "num_attention_heads": 16,
156
+ "num_hidden_layers": 24,
157
+ "pad_token_id": 0,
158
+ "position_embedding_type": "absolute",
159
+ "torch_dtype": "float32",
160
+ "transformers_version": "4.48.2",
161
+ "type_vocab_size": 2,
162
+ "use_cache": true,
163
+ "vocab_size": 197285
164
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bf1538cb79a4fc90cb6cedb22cdb646b05264c005689882eb76494c495d05fe
3
+ size 2019752356
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,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100": {
13
+ "content": "[UNK]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "103": {
21
+ "content": "[MASK]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "104": {
29
+ "content": "[CLS]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "105": {
37
+ "content": "[SEP]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_basic_tokenize": true,
48
+ "do_lower_case": false,
49
+ "extra_special_tokens": {},
50
+ "lowercase": false,
51
+ "mask_token": "[MASK]",
52
+ "model_max_length": 1000000000000000019884624838656,
53
+ "never_split": null,
54
+ "pad_token": "[PAD]",
55
+ "sep_token": "[SEP]",
56
+ "strip_accents": false,
57
+ "tokenize_chinese_chars": true,
58
+ "tokenizer_class": "BertTokenizer",
59
+ "unk_token": "[UNK]"
60
+ }
trainer_state.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7072715848684014,
3
+ "best_model_checkpoint": "./models/mr_M_IB/checkpoint-47805",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 47805,
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.9998954084300805,
13
+ "grad_norm": 2.287510395050049,
14
+ "learning_rate": 4.1667538263082664e-05,
15
+ "loss": 0.267,
16
+ "step": 9560
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_f1": 0.6238872954778499,
21
+ "eval_loss": 0.2593071460723877,
22
+ "eval_precision": 0.6048524199667669,
23
+ "eval_recall": 0.6441591653027823,
24
+ "eval_runtime": 135.2349,
25
+ "eval_samples_per_second": 502.755,
26
+ "eval_steps_per_second": 7.86,
27
+ "step": 9561
28
+ },
29
+ {
30
+ "epoch": 1.999790816860161,
31
+ "grad_norm": 1.7041232585906982,
32
+ "learning_rate": 3.3335076526165327e-05,
33
+ "loss": 0.1889,
34
+ "step": 19120
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_f1": 0.6720800989317163,
39
+ "eval_loss": 0.2354426085948944,
40
+ "eval_precision": 0.6531648502283017,
41
+ "eval_recall": 0.6921235679214403,
42
+ "eval_runtime": 281.6345,
43
+ "eval_samples_per_second": 241.412,
44
+ "eval_steps_per_second": 3.774,
45
+ "step": 19122
46
+ },
47
+ {
48
+ "epoch": 2.9996862252902416,
49
+ "grad_norm": 1.1123149394989014,
50
+ "learning_rate": 2.5002614789247985e-05,
51
+ "loss": 0.1426,
52
+ "step": 28680
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_f1": 0.6782475538938828,
57
+ "eval_loss": 0.23962680995464325,
58
+ "eval_precision": 0.6598243305989785,
59
+ "eval_recall": 0.6977291325695582,
60
+ "eval_runtime": 278.6945,
61
+ "eval_samples_per_second": 243.959,
62
+ "eval_steps_per_second": 3.814,
63
+ "step": 28683
64
+ },
65
+ {
66
+ "epoch": 3.999581633720322,
67
+ "grad_norm": 1.4725306034088135,
68
+ "learning_rate": 1.667015305233065e-05,
69
+ "loss": 0.1088,
70
+ "step": 38240
71
+ },
72
+ {
73
+ "epoch": 4.0,
74
+ "eval_f1": 0.700093388400861,
75
+ "eval_loss": 0.22952789068222046,
76
+ "eval_precision": 0.6839742776568858,
77
+ "eval_recall": 0.716990589198036,
78
+ "eval_runtime": 276.263,
79
+ "eval_samples_per_second": 246.106,
80
+ "eval_steps_per_second": 3.848,
81
+ "step": 38244
82
+ },
83
+ {
84
+ "epoch": 4.999477042150403,
85
+ "grad_norm": 1.0658468008041382,
86
+ "learning_rate": 8.337691315413311e-06,
87
+ "loss": 0.0802,
88
+ "step": 47800
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_f1": 0.7072715848684014,
93
+ "eval_loss": 0.24495984613895416,
94
+ "eval_precision": 0.6900188763695098,
95
+ "eval_recall": 0.7254091653027823,
96
+ "eval_runtime": 276.7682,
97
+ "eval_samples_per_second": 245.657,
98
+ "eval_steps_per_second": 3.841,
99
+ "step": 47805
100
+ }
101
+ ],
102
+ "logging_steps": 9560,
103
+ "max_steps": 57366,
104
+ "num_input_tokens_seen": 0,
105
+ "num_train_epochs": 6,
106
+ "save_steps": 500,
107
+ "stateful_callbacks": {
108
+ "TrainerControl": {
109
+ "args": {
110
+ "should_epoch_stop": false,
111
+ "should_evaluate": false,
112
+ "should_log": false,
113
+ "should_save": true,
114
+ "should_training_stop": false
115
+ },
116
+ "attributes": {}
117
+ }
118
+ },
119
+ "total_flos": 2.1909647240601254e+17,
120
+ "train_batch_size": 64,
121
+ "trial_name": null,
122
+ "trial_params": null
123
+ }