HuggingFaceRepoId

HuggingFaceRepoId identifies a Hugging Face repository to download the model from. Used when neither ModelFilePath nor AsposeModelId is set.

Quick reference

Type string?
Default null (set by built-in presets)
Priority 3 (lowest)
Category Model source
Field on ModelSourceParameters.HuggingFaceRepoId

What it does

The engine downloads HuggingFaceFileName from this repository when higher-priority fields are unset. Built-in presets populate this field — for example, Qwen25Preset sets it to "bartowski/Qwen2.5-7B-Instruct-GGUF".

  • null — no Hugging Face download.
  • An Id like "owner/repo" — download from that repo.

When to change it

Scenario Value
Default (use preset’s value) whatever the preset sets
Switch to a different quantization publisher Different owner/repo
Use a custom GGUF in a private Hugging Face repo Private-repo ID (requires HF token configuration)

Example

var preset = new Qwen25Preset();
preset.BaseModelSourceParameters.HuggingFaceRepoId = "unsloth/Qwen2.5-7B-Instruct-GGUF";
preset.BaseModelSourceParameters.HuggingFaceFileName = "Qwen2.5-7B-Instruct-Q4_K_M.gguf";

Interactions

What’s next