Datasets:
GEM
/

Tasks:
Other
Languages:
English
Multilinguality:
unknown
Size Categories:
unknown
Language Creators:
unknown
Annotations Creators:
crowd-sourced
Source Datasets:
original
ArXiv:
Tags:
question-generation
License:
Abinaya Mahendiran commited on
Commit
9352866
1 Parent(s): 18eda8f

Updated train/test split

Browse files
Files changed (3) hide show
  1. data_preparation.py +2 -1
  2. test.json +2 -2
  3. train.json +2 -2
data_preparation.py CHANGED
@@ -78,7 +78,8 @@ def split_data(file_name: str, data_type: str) -> (dict, dict):
78
  json_file.close()
79
 
80
  # split the data into train and test
81
- train, test = train_test_split(data, train_size=0.7, random_state = 42)
 
82
  return(train, test)
83
 
84
  # Function to save json file
 
78
  json_file.close()
79
 
80
  # split the data into train and test
81
+ # 90% train data 10% test data
82
+ train, test = train_test_split(data, train_size=0.9, random_state = 42)
83
  return(train, test)
84
 
85
  # Function to save json file
test.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d4639e08c7d9de3c1b4875136fe3222333e49e38aa1488f8f361606b8c95b6d4
3
- size 43457905
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0491481fa9f87b853325955a723f4f016a1b2c7c36102e0f1a6d719cef2f2fe7
3
+ size 15489062
train.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3bac0eeecbc7222786118150d36d3dca34185850d188d7ed41c9674e784dc65
3
- size 101226421
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bdf14d2447662444e33ff98308d414e2f7cdad4a0d5bd1eafa2964dbcd45f53
3
+ size 129237655