Datasets:
aapot
commited on
Commit
•
1c59d31
1
Parent(s):
05759f3
Remove unnecessary dataset columns
Browse files- clean_data.py +2 -0
- train.csv +2 -2
- valid.csv +2 -2
clean_data.py
CHANGED
@@ -54,5 +54,7 @@ num_rows = fi_val_cleaned.num_rows
|
|
54 |
print(f"Final cleaned dataset val rows {num_rows}")
|
55 |
|
56 |
# SAVE TO DISK
|
|
|
|
|
57 |
fi_train_cleaned.to_csv("train.csv", num_proc=64)
|
58 |
fi_val_cleaned.to_csv("valid.csv", num_proc=64)
|
|
|
54 |
print(f"Final cleaned dataset val rows {num_rows}")
|
55 |
|
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)
|
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:0fe3af1835a6120af364f2b8a9ad6526e5d27cb0dd0ad8ef73095f33f26762b6
|
3 |
+
size 64653060288
|
valid.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:43093465ebea72484795cdd86d226390a97479e5a98f1a1aaa63dfee75b438ac
|
3 |
+
size 64018640
|