Constructor Reranker
- Namespace
- LMKit.Embeddings
- Assembly
- LM-Kit.NET.dll
Reranker(LM)
Initializes a new instance of the Reranker class with the specified embedding-capable language model.
public Reranker(LM model)
Parameters
modelLMThe LM instance to use for embedding computations. Must not be
nulland must support embeddings.
Exceptions
- ArgumentNullException
Thrown when
modelisnull.- InvalidModelException
Thrown when
modeldoes not support embeddings.