Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
hate-speech-detection
Languages:
English
Size:
100K - 1M
License:
LouisThomson
commited on
Commit
•
bca395e
1
Parent(s):
0c95d61
Changed clean.py to output to validation.csv
Browse filesChanged the output of the validation dataset to validation.csv (formerly evaluation.csv) in order to align with HuggingFace expected splits.
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("
|
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)
|