config.json: Clarify label mapping
Browse files- config.json +10 -10
config.json
CHANGED
@@ -9,20 +9,20 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
},
|
27 |
"layer_norm_eps": 1e-12,
|
28 |
"max_position_embeddings": 512,
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "1 star",
|
13 |
+
"1": "2 stars",
|
14 |
+
"2": "3 stars",
|
15 |
+
"3": "4 stars",
|
16 |
+
"4": "5 stars"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
+
"1 star": 0,
|
22 |
+
"2 stars": 1,
|
23 |
+
"3 stars": 2,
|
24 |
+
"4 stars": 3,
|
25 |
+
"5 stars": 4
|
26 |
},
|
27 |
"layer_norm_eps": 1e-12,
|
28 |
"max_position_embeddings": 512,
|