Vadim Alperovich
commited on
Commit
•
2c4bf8a
1
Parent(s):
1ea4ef8
Update SST.py
Browse files
SST.py
CHANGED
@@ -20,11 +20,11 @@ _TEST_DOWNLOAD_URL = "https://huggingface.co/datasets/vmalperovich/SST-5/raw/mai
|
|
20 |
_VALID_DOWNLOAD_URL = "https://huggingface.co/datasets/vmalperovich/SST-5/raw/main/validation.csv"
|
21 |
|
22 |
|
23 |
-
CATEGORY_MAPPING = {'
|
24 |
-
'
|
25 |
-
'
|
26 |
-
'
|
27 |
-
'
|
28 |
}
|
29 |
|
30 |
class SST5(datasets.GeneratorBasedBuilder):
|
|
|
20 |
_VALID_DOWNLOAD_URL = "https://huggingface.co/datasets/vmalperovich/SST-5/raw/main/validation.csv"
|
21 |
|
22 |
|
23 |
+
CATEGORY_MAPPING = {'0': 0,
|
24 |
+
'1': 1,
|
25 |
+
'2': 2,
|
26 |
+
'3': 3,
|
27 |
+
'4': 4
|
28 |
}
|
29 |
|
30 |
class SST5(datasets.GeneratorBasedBuilder):
|