rachitavya commited on
Commit
d1ca483
·
1 Parent(s): b98a7ed

Updated BERT classifier on augmented of smaller classes

Browse files
augmented_data_labelled.csv ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "crop_pest_pest/disease - symptom",
14
+ "1": "crop_seed_seed - varieties",
15
+ "2": "crop_cultivation timelines",
16
+ "3": "scheme_scheme - info",
17
+ "4": "scheme_price",
18
+ "5": "crop_pest_pest/disease - control",
19
+ "6": "crop_weed_weed - control",
20
+ "7": "crop_sowing method",
21
+ "8": "crop_fertilizer_fertilizer - application",
22
+ "9": "crop_pest_pest/disease - prevention",
23
+ "10": "crop",
24
+ "11": "crop_organic methods",
25
+ "12": "non-agri",
26
+ "13": "crop_fertilizer",
27
+ "14": "crop_weed",
28
+ "15": "scheme",
29
+ "16": "crop_harvesting methods",
30
+ "17": "scheme_scheme - grievance",
31
+ "18": "crop_irrigation",
32
+ "19": "crop_weed_weed - prevention",
33
+ "20": "crop_description/profile",
34
+ "21": "crop_seed_seed - protection",
35
+ "22": "crop_weed - control",
36
+ "23": "crop_pest_pest/disease - procurement",
37
+ "24": "crop_seed_seed - procurement",
38
+ "25": "crop_seed ",
39
+ "26": "crop_crop use cases",
40
+ "27": "crop_fertilizer_seed - varieties",
41
+ "28": "crop_profile",
42
+ "29": "crop_cultivation",
43
+ "30": "crop_pest",
44
+ "31": "machinery_machinery - procurement",
45
+ "32": "scheme_scheme - application/registration",
46
+ "33": "scheme_scheme - eligibility",
47
+ "34": "crop_transplantation",
48
+ "35": "crop_fertilizer_fertilizer - description/profile",
49
+ "36": "crop_seed_seed - rate",
50
+ "37": "crop_soil_soil health",
51
+ "38": "crop_seed",
52
+ "39": "crop_soil_soil preparation",
53
+ "40": "crop_cultivation ",
54
+ "41": "crop_weed_weed - symptom",
55
+ "42": "crop_food processing",
56
+ "43": "crop_intercropping",
57
+ "44": "crop_storage",
58
+ "45": "scheme_scheme - notifications",
59
+ "46": "scheme_scheme - documents required",
60
+ "47": "crop_fertilizer_pest/disease - control",
61
+ "48": "crop_price",
62
+ "49": "crop_pest_fertilizer - application",
63
+ "50": "machinery_machinery - info",
64
+ "51": "non-agri_fertilizer - application",
65
+ "52": "crop_seed_pest/disease - control",
66
+ "53": "crop_pest_seed - varieties",
67
+ "54": "machinery_machinery - usage",
68
+ "55": "crop_scheme - info",
69
+ "56": "scheme_fertilizer_fertilizer - application",
70
+ "57": "crop_pest_pest/disease - level of infestation",
71
+ "58": "crop_fertilizer_fertilizer - procurement",
72
+ "59": "crop_machinery - procurement",
73
+ "60": "scheme_description/profile",
74
+ "61": "crop_pest_pest control",
75
+ "62": "crop_pest_pest/disease - info",
76
+ "63": "crop_soil_soil - info",
77
+ "64": "non-agri_weather",
78
+ "65": "crop_yield",
79
+ "66": "crop_weather",
80
+ "67": "crop_pest_pest/disease - pesticide info",
81
+ "68": "crop_soil",
82
+ "69": "crop_pest_pest/disease - biological control",
83
+ "70": "crop_junk",
84
+ "71": "non-agri_junk",
85
+ "72": "crop_organic methods_pest/disease - control",
86
+ "73": "crop_pest/disease - pesticide info",
87
+ "74": "crop_income",
88
+ "75": "crop_seed_seed - storage",
89
+ "76": "scheme_scheme - info_pest/disease - control",
90
+ "77": "crop_agricultural statistics",
91
+ "78": "crop_pest_agricultural statistics",
92
+ "79": "crop_pest_junk",
93
+ "80": "scheme_junk",
94
+ "81": "crop_pest_ pest/disease - info",
95
+ "82": "crop_pest_yield",
96
+ "83": "non-agri_cultivation timelines",
97
+ "84": "crop_pest/disease - info",
98
+ "85": "machinery",
99
+ "86": "crop_description/profile_junk",
100
+ "87": "machinery_machinery - info_junk",
101
+ "88": "scheme_scheme - info_junk",
102
+ "89": "crop_animal husbandry",
103
+ "90": "crop_fishery",
104
+ "91": "crop_junki",
105
+ "92": "crop_fertilizer_pest/disease - biological control",
106
+ "93": "crop_description/profile_animal husbandry"
107
+ },
108
+ "initializer_range": 0.02,
109
+ "intermediate_size": 3072,
110
+ "label2id": {
111
+ "LABEL_0": 0,
112
+ "LABEL_1": 1,
113
+ "LABEL_10": 10,
114
+ "LABEL_11": 11,
115
+ "LABEL_12": 12,
116
+ "LABEL_13": 13,
117
+ "LABEL_14": 14,
118
+ "LABEL_15": 15,
119
+ "LABEL_16": 16,
120
+ "LABEL_17": 17,
121
+ "LABEL_18": 18,
122
+ "LABEL_19": 19,
123
+ "LABEL_2": 2,
124
+ "LABEL_20": 20,
125
+ "LABEL_21": 21,
126
+ "LABEL_22": 22,
127
+ "LABEL_23": 23,
128
+ "LABEL_24": 24,
129
+ "LABEL_25": 25,
130
+ "LABEL_26": 26,
131
+ "LABEL_27": 27,
132
+ "LABEL_28": 28,
133
+ "LABEL_29": 29,
134
+ "LABEL_3": 3,
135
+ "LABEL_30": 30,
136
+ "LABEL_31": 31,
137
+ "LABEL_32": 32,
138
+ "LABEL_33": 33,
139
+ "LABEL_34": 34,
140
+ "LABEL_35": 35,
141
+ "LABEL_36": 36,
142
+ "LABEL_37": 37,
143
+ "LABEL_38": 38,
144
+ "LABEL_39": 39,
145
+ "LABEL_4": 4,
146
+ "LABEL_40": 40,
147
+ "LABEL_41": 41,
148
+ "LABEL_42": 42,
149
+ "LABEL_43": 43,
150
+ "LABEL_44": 44,
151
+ "LABEL_45": 45,
152
+ "LABEL_46": 46,
153
+ "LABEL_47": 47,
154
+ "LABEL_48": 48,
155
+ "LABEL_49": 49,
156
+ "LABEL_5": 5,
157
+ "LABEL_50": 50,
158
+ "LABEL_51": 51,
159
+ "LABEL_52": 52,
160
+ "LABEL_53": 53,
161
+ "LABEL_54": 54,
162
+ "LABEL_55": 55,
163
+ "LABEL_56": 56,
164
+ "LABEL_57": 57,
165
+ "LABEL_58": 58,
166
+ "LABEL_59": 59,
167
+ "LABEL_6": 6,
168
+ "LABEL_60": 60,
169
+ "LABEL_61": 61,
170
+ "LABEL_62": 62,
171
+ "LABEL_63": 63,
172
+ "LABEL_64": 64,
173
+ "LABEL_65": 65,
174
+ "LABEL_66": 66,
175
+ "LABEL_67": 67,
176
+ "LABEL_68": 68,
177
+ "LABEL_69": 69,
178
+ "LABEL_7": 7,
179
+ "LABEL_70": 70,
180
+ "LABEL_71": 71,
181
+ "LABEL_72": 72,
182
+ "LABEL_73": 73,
183
+ "LABEL_74": 74,
184
+ "LABEL_75": 75,
185
+ "LABEL_76": 76,
186
+ "LABEL_77": 77,
187
+ "LABEL_78": 78,
188
+ "LABEL_79": 79,
189
+ "LABEL_8": 8,
190
+ "LABEL_80": 80,
191
+ "LABEL_81": 81,
192
+ "LABEL_82": 82,
193
+ "LABEL_83": 83,
194
+ "LABEL_84": 84,
195
+ "LABEL_85": 85,
196
+ "LABEL_86": 86,
197
+ "LABEL_87": 87,
198
+ "LABEL_88": 88,
199
+ "LABEL_89": 89,
200
+ "LABEL_9": 9,
201
+ "LABEL_90": 90,
202
+ "LABEL_91": 91,
203
+ "LABEL_92": 92,
204
+ "LABEL_93": 93
205
+ },
206
+ "layer_norm_eps": 1e-12,
207
+ "max_position_embeddings": 512,
208
+ "model_type": "bert",
209
+ "num_attention_heads": 12,
210
+ "num_hidden_layers": 12,
211
+ "pad_token_id": 0,
212
+ "position_embedding_type": "absolute",
213
+ "problem_type": "single_label_classification",
214
+ "torch_dtype": "float32",
215
+ "transformers_version": "4.44.2",
216
+ "type_vocab_size": 2,
217
+ "use_cache": true,
218
+ "vocab_size": 30522
219
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aed0bc249faffcd4a58de1f5097b2ced77c5196b7139be3c075ebb7bb21ceeb2
3
+ size 279183360
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_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff