Update src/reranking/bm25_sentences.py (#5)
Browse files- Update src/reranking/bm25_sentences.py (0764c43472622a9d52b2796b3708fac0008ab7dd)
Co-authored-by: HarryHe11 <HarryHe@users.noreply.huggingface.co>
src/reranking/bm25_sentences.py
CHANGED
@@ -115,4 +115,4 @@ if __name__ == "__main__":
|
|
115 |
}
|
116 |
output_json.write(json.dumps(json_data, ensure_ascii=False) + "\n")
|
117 |
done += 1
|
118 |
-
|
|
|
115 |
}
|
116 |
output_json.write(json.dumps(json_data, ensure_ascii=False) + "\n")
|
117 |
done += 1
|
118 |
+
output_json.flush()
|