We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7780cf3 + 17d8e8a commit c6e49d7Copy full SHA for c6e49d7
FlagEmbedding/abc/evaluation/runner.py
@@ -166,7 +166,8 @@ def evaluate_metrics(
166
if os.path.exists(eval_results_path):
167
eval_results = json.load(open(eval_results_path, encoding='utf-8'))
168
else:
169
- raise FileNotFoundError(f"Eval results not found: {eval_results_path}")
+ logger.warning(f"Eval results not found: {eval_results_path}")
170
+ continue
171
172
if model_name not in eval_results_dict:
173
eval_results_dict[model_name] = {}
0 commit comments