michaelmior
commited on
Commit
•
4a6a1a5
1
Parent(s):
d180a03
Fix serialization
Browse files- augment_neg.py +1 -1
- train.jsonl.gz +0 -0
- validation.jsonl.gz +0 -0
augment_neg.py
CHANGED
@@ -69,7 +69,7 @@ def main(input_file, schema_dir):
|
|
69 |
{
|
70 |
"schema": obj["schema"],
|
71 |
"keyword": obj["keyword"],
|
72 |
-
"obj": obj["obj"],
|
73 |
"is_neg": obj["is_neg"],
|
74 |
},
|
75 |
sys.stdout,
|
|
|
69 |
{
|
70 |
"schema": obj["schema"],
|
71 |
"keyword": obj["keyword"],
|
72 |
+
"obj": json.dumps(obj["obj"]),
|
73 |
"is_neg": obj["is_neg"],
|
74 |
},
|
75 |
sys.stdout,
|
train.jsonl.gz
CHANGED
Binary files a/train.jsonl.gz and b/train.jsonl.gz differ
|
|
validation.jsonl.gz
CHANGED
Binary files a/validation.jsonl.gz and b/validation.jsonl.gz differ
|
|