Table of Contents

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 LM

The LM instance to use for embedding computations. Must not be null and must support embeddings.

Exceptions

ArgumentNullException

Thrown when model is null.

InvalidModelException

Thrown when model does not support embeddings.