Talip7 commited on
Commit
e0d6c35
·
verified ·
1 Parent(s): 46e403b

Multilabel classifier v1.0 (micro-F1=0.86, macro-F1=0.26)

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: results
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # results
16
+
17
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0219
20
+ - Micro F1: 0.8570
21
+ - Macro F1: 0.2635
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Micro F1 | Macro F1 |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
52
+ | 0.0383 | 1.0 | 703 | 0.0328 | 0.7591 | 0.1626 |
53
+ | 0.0279 | 2.0 | 1406 | 0.0245 | 0.8379 | 0.2323 |
54
+ | 0.0237 | 3.0 | 2109 | 0.0219 | 0.8570 | 0.2635 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.57.3
60
+ - Pytorch 2.9.0+cu126
61
+ - Datasets 4.0.0
62
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "dtype": "float32",
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "API",
13
+ "1": "Array API",
14
+ "2": "Blocker",
15
+ "3": "Breaking Change",
16
+ "4": "Bug",
17
+ "5": "Build / CI",
18
+ "6": "C/C++",
19
+ "7": "Closing candidate",
20
+ "8": "Developer API",
21
+ "9": "Documentation",
22
+ "10": "Easy",
23
+ "11": "Enhancement",
24
+ "12": "Hard",
25
+ "13": "High Priority",
26
+ "14": "Low Priority",
27
+ "15": "Meta-issue",
28
+ "16": "Metadata Routing",
29
+ "17": "Moderate",
30
+ "18": "Needs Benchmarks",
31
+ "19": "Needs Decision",
32
+ "20": "Needs Decision - Close",
33
+ "21": "Needs Decision - Include Feature",
34
+ "22": "Needs Info",
35
+ "23": "Needs Investigation",
36
+ "24": "Needs Reproducible Code",
37
+ "25": "Needs Triage",
38
+ "26": "New Feature",
39
+ "27": "Numerical Stability",
40
+ "28": "OS:Windows",
41
+ "29": "OS:macOS",
42
+ "30": "Packaging",
43
+ "31": "Pandas compatibility",
44
+ "32": "Performance",
45
+ "33": "Question",
46
+ "34": "RFC",
47
+ "35": "Refactor",
48
+ "36": "Regression",
49
+ "37": "Sprint",
50
+ "38": "Validation",
51
+ "39": "arch:arm",
52
+ "40": "cython",
53
+ "41": "float32",
54
+ "42": "free-threading",
55
+ "43": "frontend",
56
+ "44": "good first PR to review",
57
+ "45": "good first issue",
58
+ "46": "help wanted",
59
+ "47": "module:base",
60
+ "48": "module:calibration",
61
+ "49": "module:cluster",
62
+ "50": "module:compose",
63
+ "51": "module:covariance",
64
+ "52": "module:cross_decomposition",
65
+ "53": "module:datasets",
66
+ "54": "module:decomposition",
67
+ "55": "module:discriminant_analysis",
68
+ "56": "module:ensemble",
69
+ "57": "module:feature_extraction",
70
+ "58": "module:feature_selection",
71
+ "59": "module:gaussian_process",
72
+ "60": "module:impute",
73
+ "61": "module:inspection",
74
+ "62": "module:isotonic",
75
+ "63": "module:kernel_approximation",
76
+ "64": "module:linear_model",
77
+ "65": "module:manifold",
78
+ "66": "module:metrics",
79
+ "67": "module:mixture",
80
+ "68": "module:model_selection",
81
+ "69": "module:multiclass",
82
+ "70": "module:multioutput",
83
+ "71": "module:naive_bayes",
84
+ "72": "module:neighbors",
85
+ "73": "module:neural_network",
86
+ "74": "module:pipeline",
87
+ "75": "module:preprocessing",
88
+ "76": "module:semi_supervised",
89
+ "77": "module:svm",
90
+ "78": "module:test-suite",
91
+ "79": "module:tree",
92
+ "80": "module:utils",
93
+ "81": "pypy",
94
+ "82": "spam",
95
+ "83": "upstream bug",
96
+ "84": "wasm",
97
+ "85": "wontfix",
98
+ "86": "workflow"
99
+ },
100
+ "initializer_range": 0.02,
101
+ "label2id": {
102
+ "API": 0,
103
+ "Array API": 1,
104
+ "Blocker": 2,
105
+ "Breaking Change": 3,
106
+ "Bug": 4,
107
+ "Build / CI": 5,
108
+ "C/C++": 6,
109
+ "Closing candidate": 7,
110
+ "Developer API": 8,
111
+ "Documentation": 9,
112
+ "Easy": 10,
113
+ "Enhancement": 11,
114
+ "Hard": 12,
115
+ "High Priority": 13,
116
+ "Low Priority": 14,
117
+ "Meta-issue": 15,
118
+ "Metadata Routing": 16,
119
+ "Moderate": 17,
120
+ "Needs Benchmarks": 18,
121
+ "Needs Decision": 19,
122
+ "Needs Decision - Close": 20,
123
+ "Needs Decision - Include Feature": 21,
124
+ "Needs Info": 22,
125
+ "Needs Investigation": 23,
126
+ "Needs Reproducible Code": 24,
127
+ "Needs Triage": 25,
128
+ "New Feature": 26,
129
+ "Numerical Stability": 27,
130
+ "OS:Windows": 28,
131
+ "OS:macOS": 29,
132
+ "Packaging": 30,
133
+ "Pandas compatibility": 31,
134
+ "Performance": 32,
135
+ "Question": 33,
136
+ "RFC": 34,
137
+ "Refactor": 35,
138
+ "Regression": 36,
139
+ "Sprint": 37,
140
+ "Validation": 38,
141
+ "arch:arm": 39,
142
+ "cython": 40,
143
+ "float32": 41,
144
+ "free-threading": 42,
145
+ "frontend": 43,
146
+ "good first PR to review": 44,
147
+ "good first issue": 45,
148
+ "help wanted": 46,
149
+ "module:base": 47,
150
+ "module:calibration": 48,
151
+ "module:cluster": 49,
152
+ "module:compose": 50,
153
+ "module:covariance": 51,
154
+ "module:cross_decomposition": 52,
155
+ "module:datasets": 53,
156
+ "module:decomposition": 54,
157
+ "module:discriminant_analysis": 55,
158
+ "module:ensemble": 56,
159
+ "module:feature_extraction": 57,
160
+ "module:feature_selection": 58,
161
+ "module:gaussian_process": 59,
162
+ "module:impute": 60,
163
+ "module:inspection": 61,
164
+ "module:isotonic": 62,
165
+ "module:kernel_approximation": 63,
166
+ "module:linear_model": 64,
167
+ "module:manifold": 65,
168
+ "module:metrics": 66,
169
+ "module:mixture": 67,
170
+ "module:model_selection": 68,
171
+ "module:multiclass": 69,
172
+ "module:multioutput": 70,
173
+ "module:naive_bayes": 71,
174
+ "module:neighbors": 72,
175
+ "module:neural_network": 73,
176
+ "module:pipeline": 74,
177
+ "module:preprocessing": 75,
178
+ "module:semi_supervised": 76,
179
+ "module:svm": 77,
180
+ "module:test-suite": 78,
181
+ "module:tree": 79,
182
+ "module:utils": 80,
183
+ "pypy": 81,
184
+ "spam": 82,
185
+ "upstream bug": 83,
186
+ "wasm": 84,
187
+ "wontfix": 85,
188
+ "workflow": 86
189
+ },
190
+ "max_position_embeddings": 512,
191
+ "model_type": "distilbert",
192
+ "n_heads": 12,
193
+ "n_layers": 6,
194
+ "pad_token_id": 0,
195
+ "problem_type": "multi_label_classification",
196
+ "qa_dropout": 0.1,
197
+ "seq_classif_dropout": 0.2,
198
+ "sinusoidal_pos_embds": false,
199
+ "tie_weights_": true,
200
+ "transformers_version": "4.57.3",
201
+ "vocab_size": 30522
202
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eb69ae8c4084811a8f52da55b8a82373c9faea52a4f9208e874c6f391f6c0f8
3
+ size 268094036
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e06f4d876e1b28352bd8d5003ec12757b0878724530de8003fcbfab66cbb05fe
3
+ size 5841
vocab.txt ADDED
The diff for this file is too large to render. See raw diff