Datasets:
aapot
commited on
Commit
•
463d708
1
Parent(s):
1c59d31
Remove index col
Browse files- clean_data.py +2 -2
- train.csv +2 -2
- valid.csv → validation.csv +2 -2
clean_data.py
CHANGED
@@ -56,5 +56,5 @@ print(f"Final cleaned dataset val rows {num_rows}")
|
|
56 |
# SAVE TO DISK
|
57 |
fi_train_cleaned = fi_train_cleaned.remove_columns(["alphabet_len", "number_len", "upper_len", "total_len", "predicted_lang", "predicted_lang_percentage", "alphabet_ratio", "number_ratio", "upper_ratio"])
|
58 |
fi_val_cleaned = fi_val_cleaned.remove_columns(["alphabet_len", "number_len", "upper_len", "total_len", "predicted_lang", "predicted_lang_percentage", "alphabet_ratio", "number_ratio", "upper_ratio"])
|
59 |
-
fi_train_cleaned.to_csv("train.csv", num_proc=64)
|
60 |
-
fi_val_cleaned.to_csv("valid.csv", num_proc=64)
|
|
|
56 |
# SAVE TO DISK
|
57 |
fi_train_cleaned = fi_train_cleaned.remove_columns(["alphabet_len", "number_len", "upper_len", "total_len", "predicted_lang", "predicted_lang_percentage", "alphabet_ratio", "number_ratio", "upper_ratio"])
|
58 |
fi_val_cleaned = fi_val_cleaned.remove_columns(["alphabet_len", "number_len", "upper_len", "total_len", "predicted_lang", "predicted_lang_percentage", "alphabet_ratio", "number_ratio", "upper_ratio"])
|
59 |
+
fi_train_cleaned.to_csv("train.csv", num_proc=64, index=False)
|
60 |
+
fi_val_cleaned.to_csv("valid.csv", num_proc=64, index=False)
|
train.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f924719e8adb72b8d69cb20a91c3481958efb3bce978d47ec115c42c78ce7d15
|
3 |
+
size 64564250147
|
valid.csv → validation.csv
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59f60f38dec64cb813103f43e64d7aab1736a27ea79693438730ff3e78c30472
|
3 |
+
size 63930699
|