config.json: Clarify label mapping (#2)
Browse files- config.json: Clarify label mapping (e64d48aa9e62679a5da58622f04246cd2934eb79)
Co-authored-by: Julien Chaumond <julien-c@users.noreply.huggingface.co>
- 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,
|