Skip to content

Commit

Permalink
Add missing space between sentences in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Dec 10, 2024
1 parent 679ab5d commit 57b08ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentence_transformers/evaluation/NanoBEIREvaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def _validate_dataset_names(self):
dataset_name for dataset_name in self.dataset_names if dataset_name.lower() not in dataset_name_to_id
]:
raise ValueError(
f"Dataset(s) {missing_datasets} not found in the NanoBEIR collection."
f"Dataset(s) {missing_datasets} not found in the NanoBEIR collection. "
f"Valid dataset names are: {list(dataset_name_to_id.keys())}"
)

Expand Down

0 comments on commit 57b08ed

Please sign in to comment.