LouisThomson commited on
Commit
bca395e
1 Parent(s): 0c95d61

Changed clean.py to output to validation.csv

Browse files

Changed the output of the validation dataset to validation.csv (formerly evaluation.csv) in order to align with HuggingFace expected splits.

Files changed (1) hide show
  1. clean.py +1 -1
clean.py CHANGED
@@ -147,7 +147,7 @@ train_df = train_df[:train_size]
147
  # print("Saving to disk...")
148
  with open("train.csv", "w") as f:
149
  train_df.to_csv(f)
150
- with open("evaluation.csv", "w") as f:
151
  eval_df.to_csv(f)
152
  with open("test.csv", "w") as f:
153
  test_df.to_csv(f)
 
147
  # print("Saving to disk...")
148
  with open("train.csv", "w") as f:
149
  train_df.to_csv(f)
150
+ with open("validation.csv", "w") as f:
151
  eval_df.to_csv(f)
152
  with open("test.csv", "w") as f:
153
  test_df.to_csv(f)