Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
asahi417 commited on
Commit
7755823
1 Parent(s): 09630f8

Update process.py

Browse files
Files changed (1) hide show
  1. 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')