HfConfig

Options & Configuration · AiDotNet.Tensors.Serialization.HuggingFace

No summary documentation available yet.

Constructors

Constructor Summary
HfConfig()

Properties

Property Summary
IReadOnlyDictionary<string, JsonElement> Raw { get; set; }
IReadOnlyList<string> Architectures { get; set; }
double? LayerNormEps { get; set; }
int? HiddenSize { get; set; }
int? IntermediateSize { get; set; }
int? MaxPositionEmbeddings { get; set; }
int? NumAttentionHeads { get; set; }
int? NumHiddenLayers { get; set; }
int? NumKeyValueHeads { get; set; }
int? VocabSize { get; set; }
string ModelType { get; set; }

Methods

Method Summary
HfConfig Load(string path)
HfConfig Parse(string json)