Repository navigation
Tags: huggingface/sentence-transformers
Tags
[fix] Name the lone suggested parameter in the mine_hard_negatives mi… …ssing-negatives message (#3912) With only range_max to suggest, the "Could not find enough negatives" message printed "Consider adjusting the parameter": the join over solutions[:-1] dropped the only entry and the "and" suffix needs two. Post #3873 every small corpus mined with default settings reaches this message, so name the parameter in the singleton case too.
PreviousNext