跳到主要内容
版本:dev

CrossEncoderRerankEmbeddingsParameters Configuration

CrossEncoder Rerank Embeddings Parameters.

Parameters

NameTypeRequiredDescription
namestring✅
The name of the model.
pathstring❌
The path of the model, if you want to deploy a local model.
devicestring❌
Device to run model. If None, the device is automatically determined
providerstring❌
The provider of the model. If model is deployed in local, this is the inference type. If model is deployed in third-party service, this is platform name('proxy/<platform>')
Defaults:hf
verboseboolean❌
Show verbose output.
Defaults:False
concurrencyinteger❌
Model concurrency limit
Defaults:50
max_lengthinteger❌
Max length for input sequences. Longer sequences will be truncated.
model_kwargsobject❌
Keyword arguments to pass to the model.
Defaults:{}