Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
Turkish
Multilinguality:
monolingual
Size Categories:
100K<n<1M
License:
BayanDuygu
commited on
Commit
•
3d1ca0d
1
Parent(s):
028fa9f
edited file handles
Browse files
vitamins-supplements-reviews.py
CHANGED
@@ -28,10 +28,10 @@ _CITATION = """\
|
|
28 |
}
|
29 |
"""
|
30 |
|
31 |
-
_HOME_PAGE = "https://github.com/turkish-nlp-suite/
|
32 |
_URL = f'https://huggingface.co/datasets/turkish-nlp-suite/{_NAME}/raw/main/dataset'
|
33 |
_URLS = {
|
34 |
-
str(datasets.Split.TRAIN): [
|
35 |
str(datasets.Split.TEST): [f'{_URL}/test.json'],
|
36 |
str(datasets.Split.VALIDATION): [f'{_URL}/valid.json'],
|
37 |
}
|
@@ -79,7 +79,7 @@ class BeyazperdeAllMovieReviews(datasets.GeneratorBasedBuilder):
|
|
79 |
"product_name": datasets.Value("string"),
|
80 |
"brand": datasets.Value("string"),
|
81 |
"text": datasets.Value("string"),
|
82 |
-
"star": datasets.Value("
|
83 |
}
|
84 |
),
|
85 |
supervised_keys=None,
|
|
|
28 |
}
|
29 |
"""
|
30 |
|
31 |
+
_HOME_PAGE = "https://github.com/turkish-nlp-suite/vitamins-supplements-reviews/"
|
32 |
_URL = f'https://huggingface.co/datasets/turkish-nlp-suite/{_NAME}/raw/main/dataset'
|
33 |
_URLS = {
|
34 |
+
str(datasets.Split.TRAIN): ['https://huggingface.co/datasets/turkish-nlp-suite/vitamins-supplements-reviews/resolve/main/dataset/train.json'],
|
35 |
str(datasets.Split.TEST): [f'{_URL}/test.json'],
|
36 |
str(datasets.Split.VALIDATION): [f'{_URL}/valid.json'],
|
37 |
}
|
|
|
79 |
"product_name": datasets.Value("string"),
|
80 |
"brand": datasets.Value("string"),
|
81 |
"text": datasets.Value("string"),
|
82 |
+
"star": datasets.Value("int8"),
|
83 |
}
|
84 |
),
|
85 |
supervised_keys=None,
|