vosadcii commited on
Commit
075d413
1 Parent(s): e535339

policy number only

Browse files
Files changed (4) hide show
  1. data/test.json +2 -2
  2. data/train.json +2 -2
  3. data_preparation.py +3 -3
  4. train.json +0 -0
data/test.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:482e2265aaca2481e701c35eb30a4238e579df8461406849bc88812d5b3242aa
3
- size 224354
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fd3c19c7a55f1ca28f20dec5eb3c9435df4e6bc96182b9fbaca9c8608446dfa
3
+ size 284488
data/train.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:12078c13ce335f68bbabe387b5d7769fad4edff8301e34759472c3cc98ef8acc
3
- size 2014321
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1c86f7ad020320f143cd944214b72a59e8b88dacb73525e1c5c974fbdf89094
3
+ size 2591030
data_preparation.py CHANGED
@@ -34,10 +34,10 @@ def save_json(data: dict, file_name: str):
34
 
35
  if __name__ == "__main__":
36
  # split the train data
37
- train, test = split_data("policies-qa-training.json", "json")
38
 
39
  # save the train split
40
- save_json({"data": train}, "train.json")
41
 
42
  # save the test split
43
- save_json({"data": test}, "test.json")
 
34
 
35
  if __name__ == "__main__":
36
  # split the train data
37
+ train, test = split_data("train.json", "json")
38
 
39
  # save the train split
40
+ save_json({"data": train}, "data/train.json")
41
 
42
  # save the test split
43
+ save_json({"data": test}, "data/test.json")
train.json ADDED
The diff for this file is too large to render. See raw diff