Make id2label a dict
Browse files- config.json +4 -4
config.json
CHANGED
@@ -8,10 +8,10 @@
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
-
"id2label":
|
12 |
-
"no_bug",
|
13 |
-
"bug"
|
14 |
-
|
15 |
"initializer_range": 0.02,
|
16 |
"max_position_embeddings": 512,
|
17 |
"model_type": "distilbert",
|
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "no_bug",
|
13 |
+
"1": "bug"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
"max_position_embeddings": 512,
|
17 |
"model_type": "distilbert",
|