BayanDuygu commited on
Commit
3d1ca0d
1 Parent(s): 028fa9f

edited file handles

Browse files
Files changed (1) hide show
  1. vitamins-supplements-reviews.py +3 -3
vitamins-supplements-reviews.py CHANGED
@@ -28,10 +28,10 @@ _CITATION = """\
28
  }
29
  """
30
 
31
- _HOME_PAGE = "https://github.com/turkish-nlp-suite/BeyazPerde-Movie-Reviews/"
32
  _URL = f'https://huggingface.co/datasets/turkish-nlp-suite/{_NAME}/raw/main/dataset'
33
  _URLS = {
34
- str(datasets.Split.TRAIN): [f'{_URL}/train.json'],
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("int"),
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,