-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine mine_hard_negatives arguments (#2977)
* refine mine_hard_negatives arguments to support column names + min_score to accept negative samples * check if the tensor is empty before applying the reduction functions * rename `query_column_name` to `anchor_column_name` for `mine_hard_negatives` function * append pre-commit refinements --------- Co-authored-by: Abu Bakr <[email protected]> Co-authored-by: Abu Bakr Soliman <[email protected]>
- Loading branch information
1 parent
7855327
commit f85b502
Showing
1 changed file
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters