We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea14a5 commit b5cb672Copy full SHA for b5cb672
finetune-embedding/finetune_dataset.py
@@ -72,6 +72,7 @@ def write_to_json(filename,finetuning_dataset):
72
73
if node["node"]["hash"] == pos_chunk["node"]["hash"]:
74
hard = False
75
+ continue
76
77
if hard:
78
hard_negatives.append(node)
0 commit comments