PretrainedModelKind

Enums ยท AiDotNet.ModelLoading.Pretrained

The kind of pretrained-model source a PretrainedSource points at.

For Beginners

This says where and in what format a pretrained model lives. You rarely name it directly โ€” the PretrainedSource factory methods (HuggingFace, Safetensors, Onnx, Gguf) pick the right kind for you.

Fields

Field Summary
PretrainedModelKind Gguf A local .gguf checkpoint (llama.cpp format).
PretrainedModelKind HuggingFace A Hugging Face Hub repository id (e.g.
PretrainedModelKind Onnx A local .onnx graph, run directly through the ONNX runtime.
PretrainedModelKind Safetensors A local directory containing config.json and one or more *.safetensors files (optionally a model.safetensors.index.json).
int value__