@@ -577,6 +577,11 @@ Here is an example:
577577Use Prebuilt Models with SageMaker JumpStart
578578********************************************
579579
580+ .. toctree ::
581+ :maxdepth: 2
582+
583+ doc_utils/jumpstart
584+
580585`Amazon SageMaker JumpStart <https://aws.amazon.com/sagemaker/getting-started/ >`__ is a
581586SageMaker feature that helps users bring machine learning (ML)
582587applications to market using prebuilt solutions for common use cases,
@@ -628,11 +633,11 @@ the ``model_id`` and ``model_version`` needed to retrieve the URI.
628633
629634 - ``model_id ``: A unique identifier for the JumpStart model.
630635 - ``model_version ``: The version of the specifications for the
631- model. To use the latest version, enter ``* ``. This is a
636+ model. To use the latest version, enter ``"*" ``. This is a
632637 required parameter.
633638
634639To retrieve a model, first select a ``model id `` and ``version `` from
635- the Available Models .
640+ the :doc: ` available models < ./doc_utils/jumpstart >` .
636641
637642.. code :: python
638643
@@ -652,7 +657,7 @@ Then use those values to retrieve the model as follows.
652657 JumpStart scripts
653658-----------------
654659
655- To adapt JumpStart models for the SageMaker Python SDK , a custom
660+ To adapt JumpStart models for SageMaker, a custom
656661script is needed to perform training or inference. JumpStart
657662maintains a suite of scripts used for each of the models in the
658663JumpStart S3 bucket, which can be accessed using the SageMaker Python
@@ -769,7 +774,7 @@ Deployment may take about 5 minutes.
769774 predictor_cls = Predictor
770775 )
771776
772- Because ``catboost `` relies on the PyTorch Deep Learning Containers
777+ Because ``catboost `` and `` lightgbm `` rely on the PyTorch Deep Learning Containers
773778image, the corresponding Models and Endpoints display the “pytorch”
774779prefix when viewed in the AWS console. To verify that these models
775780were created successfully with your desired base model, refer to
@@ -780,7 +785,7 @@ Perform Inference
780785
781786Finally, use the ``predictor`` instance to query your endpoint. For
782787``catboost-classification-model ``, for example, the predictor accepts
783- a string . For more information about how to use the predictor, see
788+ a csv . For more information about how to use the predictor, see
784789the
785790`Appendix <https://sagemaker.readthedocs.io/en/stable/overview.html#appendix >`__.
786791
@@ -807,9 +812,8 @@ using “training” as the model scope. Use the utility functions to
807812retrieve the URI of each of the three components you need to
808813continue. The HuggingFace model in this example requires a GPU
809814instance, so use the ``ml.p3.2xlarge `` instance type. For a complete
810- list of available SageMaker instance types , see `Available SageMaker
811- Studio Instance
812- Types <https://docs.aws.amazon.com/sagemaker/latest/dg/notebooks-available-instance-types.html>`__.
815+ list of available SageMaker instance types, see the `SageMaker On-Demand Pricing
816+ Table <https://aws.amazon.com/sagemaker/pricing/#On-Demand_Pricing> `__ and select 'Training'.
813817
814818.. code :: python
815819
@@ -970,45 +974,45 @@ ContentType of ``application/list-text``.
970974
971975.. container ::
972976
973- +-----------------------+-----------------------+-----------------------+
974- | Task | Identifier | ContentType |
975- +-----------------------+-----------------------+-----------------------+
976- | Image Classification | ic | "application/x-image" |
977- +-----------------------+-----------------------+-----------------------+
978- | Object Detection | od, od1 | "application/x-image" |
979- +-----------------------+-----------------------+-----------------------+
980- | Semantic Segmentation | semseg | "application/x-image" |
981- +-----------------------+-----------------------+-----------------------+
982- | Instance Segmentation | is | "application/x-image" |
983- +-----------------------+-----------------------+-----------------------+
984- | Text Classification | tc | "application/x-text" |
985- +-----------------------+-----------------------+-----------------------+
986- | Sentence Pair | spc | "a |
987- | Classification | | pplication/list-text" |
988- +-----------------------+-----------------------+-----------------------+
989- | Extractive Question | eqa | "a |
990- | Answering | | pplication/list-text" |
991- +-----------------------+-----------------------+-----------------------+
992- | Text Generation | textgeneration | "application/x-text" |
993- +-----------------------+-----------------------+-----------------------+
994- | Image Classification | icembedding | "application/x-image" |
995- | Embedding | | |
996- +-----------------------+-----------------------+-----------------------+
997- | Text Classification | tcembedding | "application/x-text" |
998- | Embedding | | |
999- +-----------------------+-----------------------+-----------------------+
1000- | Named-entity | ner | "application/x-text" |
1001- | Recognition | | |
1002- +-----------------------+-----------------------+-----------------------+
1003- | Text Summarization | summarization | "application/x-text" |
1004- +-----------------------+-----------------------+-----------------------+
1005- | Text Translation | translation | "application/x-text" |
1006- +-----------------------+-----------------------+-----------------------+
1007- | Tabular Regression | regression | "text/csv" |
1008- +-----------------------+-----------------------+-----------------------+
1009- | Tabular | classification | "text/csv" |
1010- | Classification | | |
1011- +-----------------------+-----------------------+-----------------------+
977+ +-----------------------+-----------------------+------------------------- +
978+ | Task | Identifier | ContentType |
979+ +-----------------------+-----------------------+------------------------- +
980+ | Image Classification | ic | "application/x-image" |
981+ +-----------------------+-----------------------+------------------------- +
982+ | Object Detection | od, od1 | "application/x-image" |
983+ +-----------------------+-----------------------+------------------------- +
984+ | Semantic Segmentation | semseg | "application/x-image" |
985+ +-----------------------+-----------------------+------------------------- +
986+ | Instance Segmentation | is | "application/x-image" |
987+ +-----------------------+-----------------------+------------------------- +
988+ | Text Classification | tc | "application/x-text" |
989+ +-----------------------+-----------------------+------------------------- +
990+ | Sentence Pair | spc | "application/list-text" |
991+ | Classification | | |
992+ +-----------------------+-----------------------+------------------------- +
993+ | Extractive Question | eqa | "application/list-text" |
994+ | Answering | | |
995+ +-----------------------+-----------------------+------------------------- +
996+ | Text Generation | textgeneration | "application/x-text" |
997+ +-----------------------+-----------------------+------------------------- +
998+ | Image Classification | icembedding | "application/x-image" |
999+ | Embedding | | |
1000+ +-----------------------+-----------------------+------------------------- +
1001+ | Text Classification | tcembedding | "application/x-text" |
1002+ | Embedding | | |
1003+ +-----------------------+-----------------------+------------------------- +
1004+ | Named-entity | ner | "application/x-text" |
1005+ | Recognition | | |
1006+ +-----------------------+-----------------------+------------------------- +
1007+ | Text Summarization | summarization | "application/x-text" |
1008+ +-----------------------+-----------------------+------------------------- +
1009+ | Text Translation | translation | "application/x-text" |
1010+ +-----------------------+-----------------------+------------------------- +
1011+ | Tabular Regression | regression | "text/csv" |
1012+ +-----------------------+-----------------------+------------------------- +
1013+ | Tabular | classification | "text/csv" |
1014+ | Classification | | |
1015+ +-----------------------+-----------------------+------------------------- +
10121016
10131017********************************
10141018SageMaker Automatic Model Tuning
0 commit comments