Skip to main content

ImportThirdPartyModelRequestSchema

namestringrequired

Unique name to assign to the imported model within AI Studio.

Example: example-hf-import
repo_namestringrequired

Hugging Face repository identifier in owner/repo format (e.g. nvidia/llama-3.1-nemoguard-8b-topic-control). The repo must contain adapter_config.json and adapter_model.safetensors at the root.

Example: nvidia/llama-3.1-nemoguard-8b-topic-control
directorystring

Optional source path for the model.

Default: ./
tokenstring

Optional token for private repositories.

Default: null
versionstring

Optional version/commit/branch of the model.

Default: main
ImportThirdPartyModelRequestSchema
{
"name": "example-hf-import",
"repo_name": "nvidia/llama-3.1-nemoguard-8b-topic-control"
}