We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 919a53b commit fa8a76dCopy full SHA for fa8a76d
1 file changed
scripts/add_reranker_score.py
@@ -134,6 +134,6 @@ class ModelArgs:
134
data[i]['neg_scores'].append(float(scores[score_idx]))
135
score_idx += 1
136
137
- with open(score_args.output_dir, 'w') as f:
+ with open(score_args.output_file, 'w') as f:
138
for d in data:
139
f.write(json.dumps(d) + '\n')
0 commit comments