albertvillanova HF staff commited on
Commit
4c9747a
1 Parent(s): e31f422

Fix path to test data

Browse files

Fix path to test data.

See PR by

@chenxicam

: https://huggingface.co/datasets/legacy-datasets/hate_speech_filipino/discussions/4

Files changed (1) hide show
  1. hatespeech_filipino.py +1 -1
hatespeech_filipino.py CHANGED
@@ -67,7 +67,7 @@ class HateSpeechFilipino(datasets.GeneratorBasedBuilder):
67
  """Returns SplitGenerators."""
68
  data_dir = dl_manager.download_and_extract(_URL)
69
  train_path = os.path.join(data_dir, "hatespeech", "train.csv")
70
- test_path = os.path.join(data_dir, "hatespeech", "train.csv")
71
  validation_path = os.path.join(data_dir, "hatespeech", "valid.csv")
72
 
73
  return [
 
67
  """Returns SplitGenerators."""
68
  data_dir = dl_manager.download_and_extract(_URL)
69
  train_path = os.path.join(data_dir, "hatespeech", "train.csv")
70
+ test_path = os.path.join(data_dir, "hatespeech", "test.csv")
71
  validation_path = os.path.join(data_dir, "hatespeech", "valid.csv")
72
 
73
  return [