nreimers commited on
Commit
944f440
1 Parent(s): b3ee2e2

increase test set to 50k

Browse files
Files changed (3) hide show
  1. prepare.py +2 -2
  2. test.jsonl +2 -2
  3. train.jsonl +2 -2
prepare.py CHANGED
@@ -4,7 +4,7 @@ import json
4
  import random
5
 
6
 
7
- df = pd.read_csv("original_train.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 = 10000
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:54318e453857e6299039d1e2e3722fe7efd759d901dcc43a8fe544e2b6ed44e5
3
- size 3520769
 
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:501b732fbc4bc39aba99ec07b28bc8f44d9e99a331dda9d73a68f13d2c72d4bf
3
- size 634714202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1de45c04fad47923459bedae2df2ec37d01583402a8cf73078a76b821a0c4e6
3
+ size 620588757