Update utils/target_classifier.py
Browse files
utils/target_classifier.py
CHANGED
@@ -11,8 +11,8 @@ from transformers import pipeline
|
|
11 |
|
12 |
## Labels dictionary ###
|
13 |
label_dict = {
|
14 |
-
|
15 |
-
|
16 |
}
|
17 |
|
18 |
def get_target_labels(preds):
|
|
|
11 |
|
12 |
## Labels dictionary ###
|
13 |
label_dict = {
|
14 |
+
0:'NO',
|
15 |
+
1:'YES',
|
16 |
}
|
17 |
|
18 |
def get_target_labels(preds):
|