Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Captainia committed Mar 12, 2024
1 parent a32c294 commit 913d417
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions doc/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1440,8 +1440,7 @@ unique ID which can be used to retrieve the model URI. The following information

- ``model_id``: A unique identifier for the JumpStart model.
- ``model_version``: The version of the specifications for the
model. To use the latest version, enter ``"*"``. This is a
required parameter.
model. To use the latest version, enter ``"*"``.
To retrieve a model, first select a ``model ID`` and ``version`` from
the :doc:`available models <./doc_utils/pretrainedmodels>`.
Expand All @@ -1461,15 +1460,15 @@ Then use those values to retrieve the model as follows.
    model_id=model_id, model_version=model_version, model_scope=scope
)
To list the available models and their versions,
There are utilities built-in to list the available models and their versions,

.. code:: python
from sagemaker.jumpstart import notebook_utils
notebook_utils.list_jumpstart_models(list_versions=True)
You can constuct filters to filter the list of models,
You can constuct custom filters to filter the list of models,

.. code:: python
Expand All @@ -1491,12 +1490,6 @@ You can constuct filters to filter the list of models,
filter_value = "supported_inference_instance_types includes ml.p4de.24xlarge"
notebook_utils.list_jumpstart_models(filter_value)
To list available proprietary models or public available models,

.. code:: python
from sagemaker.jumpstart import notebook_utils
# List only publicly available models
notebook_utils.list_jumpstart_models("model_type == open_weights")
Expand Down

0 comments on commit 913d417

Please sign in to comment.