increase test set to 50k
Browse files- prepare.py +2 -2
- test.jsonl +2 -2
- train.jsonl +2 -2
prepare.py
CHANGED
@@ -4,7 +4,7 @@ import json
|
|
4 |
import random
|
5 |
|
6 |
|
7 |
-
df = pd.read_csv("
|
8 |
|
9 |
print(df)
|
10 |
"""
|
@@ -27,7 +27,7 @@ rows = [{'text': row['comment_text'].strip(),
|
|
27 |
random.seed(42)
|
28 |
random.shuffle(rows)
|
29 |
|
30 |
-
num_test =
|
31 |
splits = {'test': rows[0:num_test], 'train': rows[num_test:]}
|
32 |
|
33 |
print("Train:", len(splits['train']))
|
|
|
4 |
import random
|
5 |
|
6 |
|
7 |
+
df = pd.read_csv("original.csv")
|
8 |
|
9 |
print(df)
|
10 |
"""
|
|
|
27 |
random.seed(42)
|
28 |
random.shuffle(rows)
|
29 |
|
30 |
+
num_test = 50000
|
31 |
splits = {'test': rows[0:num_test], 'train': rows[num_test:]}
|
32 |
|
33 |
print("Train:", len(splits['train']))
|
test.jsonl
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:f80a5e9054ecc5fd7d99851cef78b0fa07c98a6115579959741c6fdac999e3a3
|
3 |
+
size 17646214
|
train.jsonl
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:c1de45c04fad47923459bedae2df2ec37d01583402a8cf73078a76b821a0c4e6
|
3 |
+
size 620588757
|