Skip to main content

ModelPreviewRequestSchema

namestringrequired

Name to assign to the model if the preview result is acceptable and the import is proceeded with.

Example: example-hf-preview
repo_namestringrequired

Hugging Face repository identifier in owner/repo format to preview.

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

Optional source path for the model.

Default: ./
tokenstring

Authentication token for accessing the model preview from Hugging Face.

Default: null
versionstring

Specific version or revision of the Hugging Face model to preview.

Default: null
ModelPreviewRequestSchema
{
"name": "example-hf-preview",
"repo_name": "nvidia/llama-3.1-nemoguard-8b-topic-control"
}