Table of Contents

Class ModelInfo

Namespace
OllamaSharp.Models
Assembly
OllamaSharp.dll

Represents additional model information.

public class ModelInfo
Inheritance
ModelInfo
Inherited Members

Properties

Architecture

Gets or sets the architecture of the model.

[JsonPropertyName("general.architecture")]
public string? Architecture { get; set; }

Property Value

string

ExtraInfo

Gets or sets additional information as a dictionary.

[JsonExtensionData]
public IDictionary<string, object>? ExtraInfo { get; set; }

Property Value

IDictionary<string, object>

FileType

Gets or sets the file type of the model.

[JsonPropertyName("general.file_type")]
public int? FileType { get; set; }

Property Value

int?

ParameterCount

Gets or sets the parameter count of the model.

[JsonPropertyName("general.parameter_count")]
public long? ParameterCount { get; set; }

Property Value

long?

QuantizationVersion

Gets or sets the quantization version of the model.

[JsonPropertyName("general.quantization_version")]
public int? QuantizationVersion { get; set; }

Property Value

int?