mirror of
https://github.com/FlagOpen/FlagEmbedding.git
synced 2025-06-27 02:39:58 +00:00
update reranker inference
This commit is contained in:
parent
bf410d51e9
commit
018b984e23
@ -96,7 +96,8 @@ class MatroyshkaReranker(AbsReranker):
|
||||
self.tokenizer = AutoTokenizer.from_pretrained(
|
||||
model_name_or_path,
|
||||
cache_dir=cache_dir,
|
||||
trust_remote_code=trust_remote_code
|
||||
trust_remote_code=trust_remote_code,
|
||||
use_fast=False,
|
||||
)
|
||||
self.tokenizer.padding_side = 'right'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user