Update README.md
Browse files
README.md
CHANGED
|
@@ -1 +1,8 @@
|
|
| 1 |
-
global_label={0:'Negative', 1:'Positive',2:'Neutral'}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
global_label={0:'Negative', 1:'Positive',2:'Neutral'}
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
label2id_custom={0: 2, 1: 0, 2: 1}
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
train_label = [label2id_custom[x] for x in train_label]
|
| 8 |
+
dev_label = [label2id_custom[x] for x in dev_label]
|