-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve: Changed the way we are adding the query and document markers…
… in colbert (#391) * improve: Changed the way we are adding the query and document markers in colbert * fix: Truncate the inout_ids and attention_mask when adding query and document markers to original input length * fix: Fix broadcast issue * chore: Remove redundant if condition * nit * refactor (#397) --------- Co-authored-by: George <[email protected]>
- Loading branch information
1 parent
8413066
commit 7c93571
Showing
2 changed files
with
11 additions
and
17 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
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