CrossEncoderRerankEmbeddingsParameters Configuration
CrossEncoder Rerank Embeddings Parameters.
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | ✅ | The name of the model. |
path | string | ❌ | The path of the model, if you want to deploy a local model. |
device | string | ❌ | Device to run model. If None, the device is automatically determined |
provider | string | ❌ | 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 |
verbose | boolean | ❌ | Show verbose output. Defaults: False |
concurrency | integer | ❌ | Model concurrency limit Defaults: 50 |
max_length | integer | ❌ | Max length for input sequences. Longer sequences will be truncated. |
model_kwargs | object | ❌ | Keyword arguments to pass to the model. Defaults: {} |