albertvillanova HF staff chenxicam commited on
Commit
21c7583
1 Parent(s): 5aacc4c

fix wrong file for test set. Current test set is the same as train set. (#4)

Browse files

- fix wrong file for test set. Current test set is the same as train set. (3eff0eac777e89f6400cb24cdd07ecc67180db72)


Co-authored-by: W <[email protected]>

Files changed (1) hide show
  1. hate_speech_filipino.py +1 -1
hate_speech_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 [