Change id2label and label2id to show ⭐ at examples
Browse files- config.json +10 -10
config.json
CHANGED
@@ -9,19 +9,19 @@
|
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 50256,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"label2id": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
},
|
26 |
"layer_norm_epsilon": 1e-05,
|
27 |
"model_type": "gpt2",
|
|
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 50256,
|
11 |
"id2label": {
|
12 |
+
"0": "⭐",
|
13 |
+
"1": "⭐⭐",
|
14 |
+
"2": "⭐⭐⭐",
|
15 |
+
"3": "⭐⭐⭐⭐",
|
16 |
+
"4": "⭐⭐⭐⭐⭐"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"label2id": {
|
20 |
+
"⭐": 0,
|
21 |
+
"⭐⭐": 1,
|
22 |
+
"⭐⭐⭐": 2,
|
23 |
+
"⭐⭐⭐⭐": 3,
|
24 |
+
"⭐⭐⭐⭐⭐": 4
|
25 |
},
|
26 |
"layer_norm_epsilon": 1e-05,
|
27 |
"model_type": "gpt2",
|