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
model
LMThe LM instance to use for embedding computations. Must not be
null
and must support embeddings.
Exceptions
- ArgumentNullException
Thrown when
model
isnull
.- InvalidModelException
Thrown when
model
does not support embeddings.