Update process.py
Browse files- process.py +1 -1
process.py
CHANGED
@@ -85,4 +85,4 @@ print(f"[remove rare predicate] : {len(df)} triples, {len(df['predicate'].unique
|
|
85 |
|
86 |
with open(f"data/t_rex.filter.jsonl", 'w') as f:
|
87 |
for _, i in df.iterrows():
|
88 |
-
f.write(json.dumps(i.to_dict() + '\n')
|
|
|
85 |
|
86 |
with open(f"data/t_rex.filter.jsonl", 'w') as f:
|
87 |
for _, i in df.iterrows():
|
88 |
+
f.write(json.dumps(i.to_dict()) + '\n')
|