kunalr63 commited on
Commit
8171bff
1 Parent(s): ff842c7

Upload 11 files

Browse files
config.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-base",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "U-PER",
15
+ "1": "O",
16
+ "2": "B-T_EXP",
17
+ "3": "I-T_EXP",
18
+ "4": "L-T_EXP",
19
+ "5": "B-PER",
20
+ "6": "L-PER",
21
+ "7": "U-PHONE",
22
+ "8": "U-EMAIL",
23
+ "9": "B-CERTIFICATE",
24
+ "10": "I-CERTIFICATE",
25
+ "11": "L-CERTIFICATE",
26
+ "12": "B-G_YEAR",
27
+ "13": "I-G_YEAR",
28
+ "14": "L-G_YEAR",
29
+ "15": "B-G_IN",
30
+ "16": "I-G_IN",
31
+ "17": "L-G_IN",
32
+ "18": "B-G_CLG",
33
+ "19": "I-G_CLG",
34
+ "20": "L-G_CLG",
35
+ "21": "B-INTER_YEAR",
36
+ "22": "I-INTER_YEAR",
37
+ "23": "L-INTER_YEAR",
38
+ "24": "B-12_PER",
39
+ "25": "L-12_PER",
40
+ "26": "B-HIGH_YEAR",
41
+ "27": "I-HIGH_YEAR",
42
+ "28": "L-HIGH_YEAR",
43
+ "29": "B-HIGH_FROM",
44
+ "30": "I-HIGH_FROM",
45
+ "31": "L-HIGH_FROM",
46
+ "32": "B-10_PER",
47
+ "33": "L-10_PER",
48
+ "34": "U-DOB",
49
+ "35": "I-PER",
50
+ "36": "B-PHONE",
51
+ "37": "I-PHONE",
52
+ "38": "L-PHONE",
53
+ "39": "B-C_DESIG",
54
+ "40": "L-C_DESIG",
55
+ "41": "B-O_COMPANY",
56
+ "42": "I-O_COMPANY",
57
+ "43": "L-O_COMPANY",
58
+ "44": "B-GRAD_PER",
59
+ "45": "L-GRAD_PER",
60
+ "46": "B-INTER_FROM",
61
+ "47": "I-INTER_FROM",
62
+ "48": "L-INTER_FROM",
63
+ "49": "B-SKILLS",
64
+ "50": "I-SKILLS",
65
+ "51": "L-SKILLS",
66
+ "52": "U-PG_IN",
67
+ "53": "B-PG_FROM",
68
+ "54": "I-PG_FROM",
69
+ "55": "L-PG_FROM",
70
+ "56": "B-PG_YEAR",
71
+ "57": "L-PG_YEAR",
72
+ "58": "B-C_COMPANY",
73
+ "59": "I-C_COMPANY",
74
+ "60": "L-C_COMPANY",
75
+ "61": "B-PG_IN",
76
+ "62": "I-PG_IN",
77
+ "63": "L-PG_IN",
78
+ "64": "U-PG_YEAR",
79
+ "65": "U-G_IN",
80
+ "66": "U-G_YEAR",
81
+ "67": "I-C_DESIG",
82
+ "68": "U-SKILLS",
83
+ "69": "U-GRAD_PER",
84
+ "70": "B-PROJECTS",
85
+ "71": "I-PROJECTS",
86
+ "72": "L-PROJECTS",
87
+ "73": "U-C_COMPANY",
88
+ "74": "U-INTER_YEAR",
89
+ "75": "U-HIGH_YEAR",
90
+ "76": "B-EMAIL",
91
+ "77": "I-EMAIL",
92
+ "78": "L-EMAIL",
93
+ "79": "B-TOOLS_USED",
94
+ "80": "I-TOOLS_USED",
95
+ "81": "L-TOOLS_USED",
96
+ "82": "I-PG_YEAR",
97
+ "83": "I-GRAD_PER",
98
+ "84": "U-TOOLS_USED",
99
+ "85": "I-12_PER",
100
+ "86": "I-10_PER",
101
+ "87": "U-T_EXP",
102
+ "88": "U-PROJECTS",
103
+ "89": "B-DOB",
104
+ "90": "L-DOB",
105
+ "91": "U-HIGH_FROM",
106
+ "92": "I-DOB",
107
+ "93": "U-12_PER",
108
+ "94": "U-10_PER",
109
+ "95": "U-G_CLG",
110
+ "96": "U-O_COMPANY",
111
+ "97": "U-INTER_FROM",
112
+ "98": "U-C_DESIG",
113
+ "99": "U-PG_FROM"
114
+ },
115
+ "initializer_range": 0.02,
116
+ "intermediate_size": 3072,
117
+ "label2id": {
118
+ "B-10_PER": 32,
119
+ "B-12_PER": 24,
120
+ "B-CERTIFICATE": 9,
121
+ "B-C_COMPANY": 58,
122
+ "B-C_DESIG": 39,
123
+ "B-DOB": 89,
124
+ "B-EMAIL": 76,
125
+ "B-GRAD_PER": 44,
126
+ "B-G_CLG": 18,
127
+ "B-G_IN": 15,
128
+ "B-G_YEAR": 12,
129
+ "B-HIGH_FROM": 29,
130
+ "B-HIGH_YEAR": 26,
131
+ "B-INTER_FROM": 46,
132
+ "B-INTER_YEAR": 21,
133
+ "B-O_COMPANY": 41,
134
+ "B-PER": 5,
135
+ "B-PG_FROM": 53,
136
+ "B-PG_IN": 61,
137
+ "B-PG_YEAR": 56,
138
+ "B-PHONE": 36,
139
+ "B-PROJECTS": 70,
140
+ "B-SKILLS": 49,
141
+ "B-TOOLS_USED": 79,
142
+ "B-T_EXP": 2,
143
+ "I-10_PER": 86,
144
+ "I-12_PER": 85,
145
+ "I-CERTIFICATE": 10,
146
+ "I-C_COMPANY": 59,
147
+ "I-C_DESIG": 67,
148
+ "I-DOB": 92,
149
+ "I-EMAIL": 77,
150
+ "I-GRAD_PER": 83,
151
+ "I-G_CLG": 19,
152
+ "I-G_IN": 16,
153
+ "I-G_YEAR": 13,
154
+ "I-HIGH_FROM": 30,
155
+ "I-HIGH_YEAR": 27,
156
+ "I-INTER_FROM": 47,
157
+ "I-INTER_YEAR": 22,
158
+ "I-O_COMPANY": 42,
159
+ "I-PER": 35,
160
+ "I-PG_FROM": 54,
161
+ "I-PG_IN": 62,
162
+ "I-PG_YEAR": 82,
163
+ "I-PHONE": 37,
164
+ "I-PROJECTS": 71,
165
+ "I-SKILLS": 50,
166
+ "I-TOOLS_USED": 80,
167
+ "I-T_EXP": 3,
168
+ "L-10_PER": 33,
169
+ "L-12_PER": 25,
170
+ "L-CERTIFICATE": 11,
171
+ "L-C_COMPANY": 60,
172
+ "L-C_DESIG": 40,
173
+ "L-DOB": 90,
174
+ "L-EMAIL": 78,
175
+ "L-GRAD_PER": 45,
176
+ "L-G_CLG": 20,
177
+ "L-G_IN": 17,
178
+ "L-G_YEAR": 14,
179
+ "L-HIGH_FROM": 31,
180
+ "L-HIGH_YEAR": 28,
181
+ "L-INTER_FROM": 48,
182
+ "L-INTER_YEAR": 23,
183
+ "L-O_COMPANY": 43,
184
+ "L-PER": 6,
185
+ "L-PG_FROM": 55,
186
+ "L-PG_IN": 63,
187
+ "L-PG_YEAR": 57,
188
+ "L-PHONE": 38,
189
+ "L-PROJECTS": 72,
190
+ "L-SKILLS": 51,
191
+ "L-TOOLS_USED": 81,
192
+ "L-T_EXP": 4,
193
+ "O": 1,
194
+ "U-10_PER": 94,
195
+ "U-12_PER": 93,
196
+ "U-C_COMPANY": 73,
197
+ "U-C_DESIG": 98,
198
+ "U-DOB": 34,
199
+ "U-EMAIL": 8,
200
+ "U-GRAD_PER": 69,
201
+ "U-G_CLG": 95,
202
+ "U-G_IN": 65,
203
+ "U-G_YEAR": 66,
204
+ "U-HIGH_FROM": 91,
205
+ "U-HIGH_YEAR": 75,
206
+ "U-INTER_FROM": 97,
207
+ "U-INTER_YEAR": 74,
208
+ "U-O_COMPANY": 96,
209
+ "U-PER": 0,
210
+ "U-PG_FROM": 99,
211
+ "U-PG_IN": 52,
212
+ "U-PG_YEAR": 64,
213
+ "U-PHONE": 7,
214
+ "U-PROJECTS": 88,
215
+ "U-SKILLS": 68,
216
+ "U-TOOLS_USED": 84,
217
+ "U-T_EXP": 87
218
+ },
219
+ "layer_norm_eps": 1e-05,
220
+ "max_position_embeddings": 514,
221
+ "model_type": "roberta",
222
+ "num_attention_heads": 12,
223
+ "num_hidden_layers": 12,
224
+ "pad_token_id": 1,
225
+ "position_embedding_type": "absolute",
226
+ "torch_dtype": "float32",
227
+ "transformers_version": "4.22.2",
228
+ "type_vocab_size": 1,
229
+ "use_cache": true,
230
+ "vocab_size": 50265
231
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model_args.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"adafactor_beta1": null, "adafactor_clip_threshold": 1.0, "adafactor_decay_rate": -0.8, "adafactor_eps": [1e-30, 0.001], "adafactor_relative_step": true, "adafactor_scale_parameter": true, "adafactor_warmup_init": true, "adam_betas": [0.9, 0.999], "adam_epsilon": 1e-08, "best_model_dir": "outputs/best_model", "cache_dir": "cache_dir/", "config": {}, "cosine_schedule_num_cycles": 0.5, "custom_layer_parameters": [], "custom_parameter_groups": [], "dataloader_num_workers": 0, "do_lower_case": false, "dynamic_quantize": false, "early_stopping_consider_epochs": false, "early_stopping_delta": 0, "early_stopping_metric": "eval_loss", "early_stopping_metric_minimize": true, "early_stopping_patience": 3, "encoding": null, "eval_batch_size": 8, "evaluate_during_training": false, "evaluate_during_training_silent": true, "evaluate_during_training_steps": 2000, "evaluate_during_training_verbose": false, "evaluate_each_epoch": true, "fp16": true, "gradient_accumulation_steps": 1, "learning_rate": 0.0001, "local_rank": -1, "logging_steps": 50, "loss_type": null, "loss_args": {}, "manual_seed": null, "max_grad_norm": 1.0, "max_seq_length": 128, "model_name": "roberta-base", "model_type": "roberta", "multiprocessing_chunksize": -1, "n_gpu": 1, "no_cache": false, "no_save": false, "not_saved_args": [], "num_train_epochs": 20, "optimizer": "AdamW", "output_dir": "outputs/", "overwrite_output_dir": true, "polynomial_decay_schedule_lr_end": 1e-07, "polynomial_decay_schedule_power": 1.0, "process_count": 18, "quantized_model": false, "reprocess_input_data": true, "save_best_model": true, "save_eval_checkpoints": true, "save_model_every_epoch": true, "save_optimizer_and_scheduler": true, "save_steps": 2000, "scheduler": "linear_schedule_with_warmup", "silent": false, "skip_special_tokens": true, "tensorboard_dir": null, "thread_count": null, "tokenizer_name": null, "tokenizer_type": null, "train_batch_size": 8, "train_custom_parameters_only": false, "use_cached_eval_features": false, "use_early_stopping": false, "use_hf_datasets": false, "use_multiprocessing": true, "use_multiprocessing_for_evaluation": true, "wandb_kwargs": {}, "wandb_project": null, "warmup_ratio": 0.06, "warmup_steps": 87, "weight_decay": 0.0, "model_class": "NERModel", "classification_report": false, "labels_list": ["U-PER", "O", "B-T_EXP", "I-T_EXP", "L-T_EXP", "B-PER", "L-PER", "U-PHONE", "U-EMAIL", "B-CERTIFICATE", "I-CERTIFICATE", "L-CERTIFICATE", "B-G_YEAR", "I-G_YEAR", "L-G_YEAR", "B-G_IN", "I-G_IN", "L-G_IN", "B-G_CLG", "I-G_CLG", "L-G_CLG", "B-INTER_YEAR", "I-INTER_YEAR", "L-INTER_YEAR", "B-12_PER", "L-12_PER", "B-HIGH_YEAR", "I-HIGH_YEAR", "L-HIGH_YEAR", "B-HIGH_FROM", "I-HIGH_FROM", "L-HIGH_FROM", "B-10_PER", "L-10_PER", "U-DOB", "I-PER", "B-PHONE", "I-PHONE", "L-PHONE", "B-C_DESIG", "L-C_DESIG", "B-O_COMPANY", "I-O_COMPANY", "L-O_COMPANY", "B-GRAD_PER", "L-GRAD_PER", "B-INTER_FROM", "I-INTER_FROM", "L-INTER_FROM", "B-SKILLS", "I-SKILLS", "L-SKILLS", "U-PG_IN", "B-PG_FROM", "I-PG_FROM", "L-PG_FROM", "B-PG_YEAR", "L-PG_YEAR", "B-C_COMPANY", "I-C_COMPANY", "L-C_COMPANY", "B-PG_IN", "I-PG_IN", "L-PG_IN", "U-PG_YEAR", "U-G_IN", "U-G_YEAR", "I-C_DESIG", "U-SKILLS", "U-GRAD_PER", "B-PROJECTS", "I-PROJECTS", "L-PROJECTS", "U-C_COMPANY", "U-INTER_YEAR", "U-HIGH_YEAR", "B-EMAIL", "I-EMAIL", "L-EMAIL", "B-TOOLS_USED", "I-TOOLS_USED", "L-TOOLS_USED", "I-PG_YEAR", "I-GRAD_PER", "U-TOOLS_USED", "I-12_PER", "I-10_PER", "U-T_EXP", "U-PROJECTS", "B-DOB", "L-DOB", "U-HIGH_FROM", "I-DOB", "U-12_PER", "U-10_PER", "U-G_CLG", "U-O_COMPANY", "U-INTER_FROM", "U-C_DESIG", "U-PG_FROM"], "lazy_loading": false, "lazy_loading_start_line": 0, "onnx": false, "special_tokens_list": []}
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e61e5b1d6d6fee16d27cbc243a8d1d18a5d3738669dbb2facbbd2018e96360e
3
+ size 993219927
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cb8d77a1992098856592218b302077aa5447c2eda343eb1ee368752830955bc
3
+ size 496598833
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77dae8af04cc4eda79058d9f9b5ecc65298424f0272c970dcf82c14083a08f5f
3
+ size 623
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "do_lower_case": false,
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "mask_token": "<mask>",
9
+ "model_max_length": 512,
10
+ "name_or_path": "roberta-base",
11
+ "pad_token": "<pad>",
12
+ "sep_token": "</s>",
13
+ "special_tokens_map_file": null,
14
+ "tokenizer_class": "RobertaTokenizer",
15
+ "trim_offsets": true,
16
+ "unk_token": "<unk>"
17
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8148d2dc0a436ed82b2d2cebae0bb023641d1fd8c6807f21a54b2299783d8eae
3
+ size 4527
vocab.json ADDED
The diff for this file is too large to render. See raw diff