View a markdown version of this page

Model properties - Amazon SageMaker AI

Model properties

The HubContentDocument for the Model HubContentType contains the metadata that describes a JumpStart model, including its id, licensing, deployment configuration, and customization options. Use this metadata to evaluate and compare models and to make informed decisions about which model best fits your use case.

When calling the DescribeHubContent operation for a model, the response includes a HubContentDocument field, returned as a JSON-formatted string. This section describes the properties of that document for the Model HubContentType so that it can be more easily interpreted.

Parse the HubContentDocument string as JSON to read the properties described here. Property names use PascalCase. A document contains only the properties that apply to the model, so most properties are optional.

The following properties are always present: Url, TrainingSupported, IncrementalTrainingSupported, ModelTypes, and Capabilities. All other properties are optional and appear only when they apply to the model.

Top-level properties

The following table lists the top-level properties of the model HubContentDocument.

Property

Type

Description

Url

Url (string)

The URL of the model's source page.

Required

MinSdkVersion

SemanticVersion

The oldest Python SDK version compatible with this model.

Optional

TrainingSupported

boolean

Specifies whether the model supports the classic Python SDK training path (not the recipe-based path).

Required

IncrementalTrainingSupported

boolean

Specifies whether the model can be fine-tuned again starting from a prior training job's output artifact.

Required

ResourceNameBase

string

The base name used to automatically name endpoints and training jobs.

Optional

GatedBucket

boolean

Specifies whether the model weights are gated. To deploy a gated model, you must accept the EULA (accept_eula=True).

Optional

NovaModelType

string

A marker that identifies Amazon Nova model variants.

Optional

ModelTypes

enum[]

The licensing class for the model. Valid values are PROPRIETARY (locked weights) or OPEN_WEIGHTS (portable weights).

Required

Task

string

The ML task category (for example, text-generation or image-classification).

Optional

Framework

string

The origin/framework family of the model (for example, huggingface, meta, or nova).

Optional

Provider

string

The organization that produced the model (for example, Meta, Anthropic, or Amazon).

Optional

Datatype

string

The modality of the model (text, vision, audio, or multimodal).

Optional

License

string

A short license identifier (for example, Apache-2.0 or MIT).

Optional

InputModalities

string[]

The input types that the model accepts (text, image, audio, video, and so on).

Optional

OutputModalities

string[]

The output types that the model produces (text, image, audio, video, and so on).

Optional

ModelAccess

string

An access-tier tag (public, gated, or private-hub).

Optional

Languages

string[]

The human languages the model was trained on.

Optional

ModelSize

string

The model size by number of parameters.

Optional

ContextWindow

string

The maximum number of input tokens the model can process.

Optional

MlFramework

string

The ML framework the model was originally trained in (for example, PyTorch).

Optional

HuggingfaceId

string

The source Hugging Face Hub ID, if the model was mirrored from Hugging Face.

Optional

ModelProviderIconUri

string

A URL to the provider's logo image for the model card.

Optional

Highlights

string[]

A list of marketing highlights shown on the model detail page.

Optional

Resources

{DisplayName, Url}[]

A list of external links (paper, blog, or code repository) shown under "Learn more."

Optional

ContextualHelp

object

The inline help text shown next to the training-data input (HubFormatTrainData and HubDefaultTrainData).

Optional

Dependencies

object[]

The instructions for copying artifacts into a hub at import time.

Optional

NotebookLocations

object

The container for the example notebooks shown on the model's Notebooks tab.

Optional

RecipeCollection

RecipeMetadata[]

A collection of recipe-based customizations, independent of TrainingSupported.

Optional

Capabilities

enum[]

The feature gates that the model supports (for example, BEDROCK_CONSOLE, TRAINING, FINE_TUNING, CUSTOMIZATION, HYPERPOD_DEPLOYMENT).

Required

InferenceConfigs

object

A named set of alternate deploy configurations that override root hosting fields. The top-ranked configuration is the default.

Optional

InferenceConfigComponents

object

A reusable component pool referenced by InferenceConfigs[*].ComponentNames.

Optional

InferenceConfigRankings

object

Specifies which InferenceConfigs entry is the default (overall.Rankings[0]).

Optional

TrainingConfigs

object

A named set of training configurations for the classic training path.

Optional

TrainingConfigComponents

object

A reusable component pool referenced by TrainingConfigs[*].ComponentNames.

Optional

TrainingConfigRankings

object

Specifies which TrainingConfigs entry is the default.

Optional

DynamicContainerDeploymentSupported

boolean

Specifies whether the model can be deployed as an Inference Component (dynamic-container endpoint).

Optional

HostingAdditionalDataSources

object

Additional deploy-time model-data channels, typically used for speculative-decoding draft models.

Optional

BedrockIOMappingId

string

The I/O contract ID used when the model is invoked from Amazon Bedrock.

Optional

HostingEcrUri

EcrUri

The inference container image used for deployment.

Optional (effectively required to deploy)

HostingEcrSpecs

object

The framework/version/Python triple used to compute a Deep Learning Container image.

Optional

HostingArtifactS3DataType

S3DataType

Specifies whether HostingArtifactUri is an S3Prefix (directory) or S3Object (single tarball).

Optional

HostingArtifactCompressionType

S3CompressionType

Specifies whether HostingArtifactUri is Gzip-compressed or None.

Optional

HostingArtifactUri

S3Uri

The S3 location of the model weights.

Optional

HostingScriptUri

S3Uri

The S3 location of the inference script package (sourcedir.tar.gz).

Optional

HostingUseScriptUri

boolean

Specifies whether to fetch a separate script package (false = prepacked).

Optional

HostingEulaUri

S3Uri

The S3 URI of the model's EULA; its presence gates the model (requires accept_eula).

Optional

HostingEulaExternalLink

string

An external link to the vendor's license page.

Optional

ModelSubscriptionLink

string

An AWS Marketplace subscribe link.

Optional

ListingId

string

The AWS Marketplace listing ID.

Optional

ProductId

string

The AWS Marketplace product ID.

Optional

HostingModelPackageArn

ModelPackageArn

The AWS Marketplace deploy path. The endpoint is created from a model package instead of a container image and artifact.

Optional

InferenceAmiVersion

enum

The SageMaker-managed AMI (driver/CUDA version) for the endpoint host.

Optional

ModelDataDownloadTimeout

int 60–3600

The maximum seconds SageMaker waits for the model weights to download from S3.

Optional

ContainerStartupHealthCheckTimeout

int 60–3600

The maximum seconds SageMaker waits for the container's health check to return 200.

Optional

InferenceEnvironmentVariables

array

The container environment variables set at deploy time.

Optional

InferenceDependencies

string[]

The Python packages that the inference container installs at startup.

Optional

DefaultInferenceInstanceType

InstanceType

The default deploy instance type.

Optional

SupportedInferenceInstanceTypes

InstanceType[]

The instance types available for deployment.

Optional

SageMakerSdkPredictorSpecifications

object

The Content-Type and Accept headers used when invoking the model.

Optional

InferenceVolumeSize

int > 0

The additional EBS volume, in GB, attached to the endpoint host.

Optional

InferenceEnableNetworkIsolation

boolean

Specifies whether outbound network is blocked from the endpoint container.

Optional

DefaultPayloads

object

The canonical example request bodies for the sample-payload pane.

Optional

HostingResourceRequirements

object

The CPU, GPU, and memory requirements for deploying as an Inference Component.

Optional

HostingInstanceTypeVariants

object

The per-instance-family overrides for the deploy configuration (image URIs, environment variables, and model-package ARNs).

Optional

TrainingArtifactS3DataType

S3DataType

Specifies whether TrainingArtifactUri is an S3Prefix or S3Object.

Optional

TrainingArtifactCompressionType

S3CompressionType

Specifies whether TrainingArtifactUri is Gzip-compressed or None.

Optional

TrainingModelPackageArtifactUri

S3Uri

The AWS Marketplace training path. Weights come from a model package instead of the model channel.

Optional

Hyperparameters

array

The customer-tunable parameters (name, type, default, minimum, and maximum) for the training path.

Optional

TrainingScriptUri

S3Uri

The S3 location of the training script package (sourcedir.tar.gz).

Optional

TrainingEcrUri

EcrUri

The training container image.

Optional

TrainingMetrics

array

The regular expression patterns scraped from logs into Amazon CloudWatch metrics.

Optional

TrainingArtifactUri

S3Uri

The pre-trained weights fed into the training job as its starting point.

Optional

TrainingDependencies

string[]

The Python packages that the training container installs at startup.

Optional

DefaultTrainingInstanceType

InstanceType

The default training instance type.

Optional

SupportedTrainingInstanceTypes

InstanceType[]

The instance types available for training.

Optional

TrainingVolumeSize

int > 0

The EBS volume (GB) attached to the training host.

Optional

TrainingEnableNetworkIsolation

boolean

Specifies whether outbound network is blocked from the training container.

Optional

FineTuningSupported

boolean

A legacy property. TrainingSupported and the FINE_TUNING capability supersede this property.

Optional

ValidationSupported

boolean

A legacy property. The VALIDATION capability supersedes this property.

Optional

DefaultTrainingDatasetUri

S3Uri

A sample dataset the wizard can pre-fill for a one-step fine-tune.

Optional

EncryptInterContainerTraffic

boolean

Specifies whether to encrypt traffic between hosts during distributed training.

Optional

MaxRuntimeInSeconds

int >= 1

The maximum number of seconds before the training job is stopped, even if it hasn't converged.

Optional

DisableOutputCompression

boolean

Specifies whether to skip compressing the training output artifact.

Optional

ModelDir

string

The directory inside the training container where the script writes the final model.

Optional

TrainingInstanceTypeVariants

object

The per-instance-family overrides for the training configuration (image URIs and gated-model environment variables).

Optional

Nested properties

The following table lists the properties nested inside the object and array properties in the preceding table. A nested property marked as required is required only when its parent property is present.

Note

The TrainingConfigs and TrainingConfigRankings properties have the same nested structure as their InferenceConfigs and InferenceConfigRankings counterparts. Replace Inference with Training in the property paths.

Property path

Type

Description

Dependencies[].DependencyOriginPath

S3 URI

The source S3 URI to copy from at ImportHubContent time.

Optional

Dependencies[].DependencyCopyPath

S3 URI

The destination S3 URI inside the hub.

Optional

Dependencies[].DependencyType

enum SCRIPT | ARTIFACT | DATASET | NOTEBOOK | OTHER

The kind of artifact being copied.

Optional

Resources[].DisplayName

string

The human-readable link label.

Optional

Resources[].Url

string

The external URL (paper, GitHub, blog).

Optional

ContextualHelp.HubFormatTrainData

string[<=800][]

The paragraphs that explain the expected training-data format (up to 50).

Optional

ContextualHelp.HubDefaultTrainData

string[<=800][]

The paragraphs that describe the sample dataset (up to 50).

Optional

NotebookLocations.DemoNotebook

S3 URI

The legacy single-notebook location. DemoNotebooks supersedes this property.

Optional

NotebookLocations.DemoNotebooks

array (Title, S3Uri required per item)

The list of example notebooks shown on the Notebooks tab.

Optional

NotebookLocations.ModelFit

string

The Markdown content for the "Fine-tune" tab overview.

Optional

NotebookLocations.ModelDeploy

string

The Markdown content for the "Deploy" tab overview.

Optional

NotebookLocations.DemoNotebooks[].Title

string

The display title of the notebook.

Required

NotebookLocations.DemoNotebooks[].S3Uri

S3 URI

The S3 location of the .ipynb file.

Required

NotebookLocations.DemoNotebooks[].IsDefault

boolean

Specifies whether this notebook is pre-selected when the tab opens.

Optional

Hyperparameters[].Name

string (max 256)

The hyperparameter identifier passed to the training script.

Required

Hyperparameters[].Label

string (max 256)

The display label shown in the form.

Optional

Hyperparameters[].Description

string

A description or tooltip.

Optional

Hyperparameters[].Type

enum int | float | text

The data type of the hyperparameter value.

Required

Hyperparameters[].Default

int / float / string

The default value; type must match Type.

Required

Hyperparameters[].Min

int / float

The minimum allowed value.

Optional

Hyperparameters[].Max

int / float

The maximum allowed value.

Optional

Hyperparameters[].Options

array

The allowed values (text type only).

Optional

Hyperparameters[].Scope

enum algorithm | container

Specifies whether the value is a training-script argument or a container environment variable.

Optional

Hyperparameters[].Validators

enum resourceName | resourceTag

The additional format validation applied to the value.

Optional

InferenceEnvironmentVariables[].Name

string

The environment variable name.

Required

InferenceEnvironmentVariables[].Type

enum int | float | text | bool

The value type.

Required

InferenceEnvironmentVariables[].Default

value

The default value; type must match Type.

Required

InferenceEnvironmentVariables[].Description

string

A description or tooltip.

Optional

InferenceEnvironmentVariables[].Options

array

The allowed values (text type only).

Optional

InferenceEnvironmentVariables[].Min

int / float

The minimum value or length.

Optional

InferenceEnvironmentVariables[].Max

int / float

The maximum value or length.

Optional

InferenceEnvironmentVariables[].Scope

enum

The value scope tag.

Optional

InferenceEnvironmentVariables[].RequiredForModelClass

string

The model class for which the value is required.

Optional

InferenceEnvironmentVariables[].Validators

enum

The additional format validation applied to the value.

Optional

TrainingMetrics[].Name

string (max 255)

The metric name published to CloudWatch.

Required

TrainingMetrics[].Regex

string (max 500)

The regex applied to logs; captures exactly one numeric group.

Required

SageMakerSdkPredictorSpecifications.DefaultContentType

string

The default request Content-Type header.

Required

SageMakerSdkPredictorSpecifications.SupportedContentTypes

string[]

The Content-Types that the model accepts.

Required

SageMakerSdkPredictorSpecifications.DefaultAcceptType

string

The default response Accept header.

Required

SageMakerSdkPredictorSpecifications.SupportedAcceptTypes

string[]

The Accept types that the model returns.

Required

DefaultPayloads[alias].ContentType

string

The Content-Type header for this example.

Required

DefaultPayloads[alias].PromptKey

string

The JSON path where a user prompt is inserted into Body.

Optional

DefaultPayloads[alias].Body

string | object

The example request body.

Required

DefaultPayloads[alias].OutputKeys.GeneratedText

string

The JSON path in the response holding generated text.

Optional

DefaultPayloads[alias].OutputKeys.InputLogProbs

string

The JSON path in the response holding input log-probs.

Optional

HostingResourceRequirements.NumAccelerators

integer

The required accelerator count for an Inference Component.

Optional

HostingResourceRequirements.NumCpus

integer

The required vCPU count.

Optional

HostingResourceRequirements.MinMemoryMb

integer

The required minimum RAM in MB.

Required

HostingAdditionalDataSources[channelName][].ChannelName

string

The SageMaker channel name (mount point).

Required

HostingAdditionalDataSources[channelName][].ArtifactVersion

string

The version tag for the extra artifact.

Optional

HostingAdditionalDataSources[channelName][].S3DataSource.S3DataType

enum

The Amazon S3 data type (S3Prefix or S3Object).

Required

HostingAdditionalDataSources[channelName][].S3DataSource.S3Uri

S3 URI

The S3 location of the extra artifact.

Required

HostingAdditionalDataSources[channelName][].S3DataSource.CompressionType

enum

The compression type (None or Gzip).

Required

HostingAdditionalDataSources[channelName][].S3DataSource.HubAccessConfig.HubContentArn

string

The HubContent ARN to attribute the download to.

Optional

HostingAdditionalDataSources[channelName][].HostingEulaUri

S3 URI

The EULA that a user must accept before accessing this additional data source.

Optional

HostingAdditionalDataSources[channelName][].Provider.Name

string

The provider name for attribution.

Required

HostingAdditionalDataSources[channelName][].Provider.Classification

string

The provider classification.

Required

HostingInstanceTypeVariants.Aliases[alias]

ECR URI

An image URI shared across many instance types.

Optional

HostingInstanceTypeVariants.Variants[instanceType].Properties.ImageUri

ECR URI

A per-instance-type inference image override.

Optional

HostingInstanceTypeVariants.Variants[instanceType].Properties.EnvironmentVariables

object

The per-instance-type environment variable overrides.

Optional

HostingInstanceTypeVariants.Variants[instanceType].Properties.ModelPackageArn

ModelPackage ARN

A per-instance-type AWS Marketplace model package override.

Optional

HostingInstanceTypeVariants.Variants[instanceType].Properties.ListingId

string

A per-instance-type AWS Marketplace listing ID.

Optional

HostingInstanceTypeVariants.Variants[instanceType].Properties.ProductId

string

A per-instance-type AWS Marketplace product ID.

Optional

TrainingInstanceTypeVariants.Aliases[alias]

ECR URI

An image URI shared across many instance types.

Optional

TrainingInstanceTypeVariants.Variants[instanceType].Properties.ImageUri

ECR URI

A per-instance-type training image override.

Optional

TrainingInstanceTypeVariants.Variants[instanceType].Properties.GatedModelEnvVarUri

S3 URI

The gated-model weights URI passed through an environment variable.

Optional

TrainingInstanceTypeVariants.Variants[instanceType].Properties.TrainingArtifactUri

S3 URI

A per-instance-type training artifact override.

Optional

TrainingInstanceTypeVariants.Variants[instanceType].Properties.EnvironmentVariables

object

The per-instance-type environment variable overrides.

Optional

RecipeCollection[].Name

string (max 255)

The machine-readable recipe ID, unique within the collection.

Required

RecipeCollection[].DisplayName

string (max 255)

The human-readable recipe title.

Required

RecipeCollection[].Type

enum FineTuning | Evaluation

Specifies whether the recipe fine-tunes or evaluates the model.

Required

RecipeCollection[].CustomizationTechnique

enum SFT | DPO | RLAIF | RLVR | PPO | CPT | DISTILL | MTRL

The fine-tuning algorithm.

Optional

RecipeCollection[].EvaluationType

enum DeterministicTextBenchmark | DeterministicMultiModalBenchmark | DeterministicEvaluation | LLMAJEvaluation | MTRLEvaluation

The evaluation methodology (only when Type=Evaluation).

Optional

RecipeCollection[].IsSubscriptionModel

boolean

Specifies whether the recipe requires an active subscription before the model can be customized.

Optional

RecipeCollection[].Peft

enum LORA | QLORA | FULL

The parameter-efficient fine-tuning mode.

Optional

RecipeCollection[].SequenceLength

enum 1K | 2K | 4K | 8K | 16K | 32K | 64K | 128K

The training context length for the fine-tune.

Optional

RecipeCollection[].Hardware

enum GPU | TRAINIUM | CPU

The accelerator hardware family (for example, GPU, TRAINIUM, or CPU).

Optional

RecipeCollection[].Versions

string[]

The model versions the recipe is compatible with.

Required

RecipeCollection[].SmtjImageUri

ECR URI

The training container image used when the recipe runs as a SageMaker training job.

Optional

RecipeCollection[].InstanceCount

integer

The default number of instances for the training job.

Optional

RecipeCollection[].Framework

enum CHECKPOINTLESS | NOVA | VERL | LLMFT

The training framework family that runs the recipe.

Optional

RecipeCollection[].ServerlessMeteringType

enum Token-based | Hourly

The serverless billing model (per-token or per-hour).

Optional

RecipeCollection[].ServerlessSku

string

The SKU the serverless meter charges against.

Optional

RecipeCollection[].HostingConfigs

array

The deployment targets available after customization.

Optional

RecipeCollection[].UseCases

string[]

The free-text use-case tags.

Optional

RecipeCollection[].BestFor

string[]

The free-text "best for" tags.

Optional

RecipeCollection[].Description

string

A free-text description of the recipe.

Optional

RecipeCollection[].SupportedInstanceTypes

array

The training instance types the recipe supports.

Optional

RecipeCollection[].RecipeFilePath

string

The path to the recipe definition file.

Optional

RecipeCollection[].HpEksPayloadTemplateS3Uri

S3 URI

The S3 location of the HyperPod (EKS) launch template.

Optional

RecipeCollection[].HpEksOverrideParamsS3Uri

S3 URI

The S3 location of the HyperPod (EKS) parameter overrides.

Optional

RecipeCollection[].SmtjRecipeTemplateS3Uri

S3 URI

The S3 location of the SageMaker training job launch template.

Optional

RecipeCollection[].SmtjOverrideParamsS3Uri

S3 URI

The S3 location of the SageMaker training job parameter overrides.

Optional

RecipeCollection[].HostingConfigs[].InstanceType

InstanceType

An instance type the customized model can be deployed on.

Required

RecipeCollection[].HostingConfigs[].Profile

string

An optional deploy profile name.

Optional

RecipeCollection[].HostingConfigs[].EcrAddress

ECR URI

An optional override for the inference container image.

Optional

RecipeCollection[].HostingConfigs[].Environment

object

The container environment variables for this deploy target.

Optional

RecipeCollection[].HostingConfigs[].ComputeResourceRequirements.MinMemoryRequiredInMb

int >= 1

The minimum RAM in MB.

Required (if parent object set)

RecipeCollection[].HostingConfigs[].ComputeResourceRequirements.NumberOfCpuCoresRequired

int >= 1

The minimum vCPU count.

Required (if parent object set)

RecipeCollection[].HostingConfigs[].ComputeResourceRequirements.NumberOfAcceleratorDevicesRequired

int >= 0

The minimum accelerator count.

Required (if parent object set)

InferenceConfigs[configName].ComponentNames

string[]

The components (from InferenceConfigComponents) merged into this config.

Required

InferenceConfigs[configName].HubContentDependencies[].HubContentArn

string

The other HubContent that this configuration depends on.

Optional

InferenceConfigs[configName].BenchmarkMetrics[benchmarkName][].Name

string

The metric name (throughput, latency, and so on).

Required

InferenceConfigs[configName].BenchmarkMetrics[benchmarkName][].Value

string

The measured value.

Required

InferenceConfigs[configName].BenchmarkMetrics[benchmarkName][].Unit

string

The unit (tokens/s, ms, and so on).

Required

InferenceConfigs[configName].BenchmarkMetrics[benchmarkName][].DisplayText

string

A display label for the metric.

Optional

InferenceConfigs[configName].BenchmarkMetrics[benchmarkName][].Concurrency

string

The concurrency level at which measured.

Optional

InferenceConfigs[configName].AccelerationConfigs[].Type

string

The acceleration type (compiler, kernel fusion, and so on).

Required

InferenceConfigs[configName].AccelerationConfigs[].Enabled

boolean

Specifies whether this acceleration is applied.

Required

InferenceConfigs[configName].AccelerationConfigs[].Spec.Compiler

string

The compiler used.

Optional

InferenceConfigs[configName].AccelerationConfigs[].Spec.Version

string

The compiler version.

Optional

InferenceConfigs[configName].AccelerationConfigs[].DiyWorkflowOverrides.Enabled

boolean

The do-it-yourself (DIY) workflow override flag.

Optional

InferenceConfigs[configName].AccelerationConfigs[].DiyWorkflowOverrides.Reason

string

The reason for the override.

Optional

InferenceConfigRankings[rankingName].Description

string

A description of the ranking dimension (for example, "cheapest first").

Optional

InferenceConfigRankings[rankingName].Rankings

string[]

The ordered list of config names for this ranking.

Optional