Table of Contents

Property Model

Namespace
LMKit.TextGeneration
Assembly
LM-Kit.NET.dll

Model

Gets the underlying language model used for summarization.

public LM Model { get; }

Property Value

LM

The instance of LM used by this summarizer.

Examples

// Retrieve and display the model information.
var model = new LMKit.Model.LM("my-model.gguf");
var summarizer = new LMKit.TextGeneration.Summarizer(model);
Console.WriteLine("Model Name: " + summarizer.Model.Name);
Console.WriteLine("Model Context Length: " + summarizer.Model.ContextLength);