Peterard commited on
Commit
a0ea3bc
1 Parent(s): 14a6a3b

Make id2label a dict

Browse files
Files changed (1) hide show
  1. 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",