@@ -577,6 +577,11 @@ Here is an example:
577
577
Use Prebuilt Models with SageMaker JumpStart
578
578
********************************************
579
579
580
+ .. toctree ::
581
+ :maxdepth: 2
582
+
583
+ doc_utils/jumpstart
584
+
580
585
`Amazon SageMaker JumpStart <https://aws.amazon.com/sagemaker/getting-started/ >`__ is a
581
586
SageMaker feature that helps users bring machine learning (ML)
582
587
applications to market using prebuilt solutions for common use cases,
@@ -628,11 +633,11 @@ the ``model_id`` and ``model_version`` needed to retrieve the URI.
628
633
629
634
- ``model_id ``: A unique identifier for the JumpStart model.
630
635
- ``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
632
637
required parameter.
633
638
634
639
To retrieve a model, first select a ``model id `` and ``version `` from
635
- the Available Models .
640
+ the :doc: ` available models < ./doc_utils/jumpstart >` .
636
641
637
642
.. code :: python
638
643
@@ -652,7 +657,7 @@ Then use those values to retrieve the model as follows.
652
657
JumpStart scripts
653
658
-----------------
654
659
655
- To adapt JumpStart models for the SageMaker Python SDK , a custom
660
+ To adapt JumpStart models for SageMaker, a custom
656
661
script is needed to perform training or inference. JumpStart
657
662
maintains a suite of scripts used for each of the models in the
658
663
JumpStart S3 bucket, which can be accessed using the SageMaker Python
@@ -768,7 +773,7 @@ Deployment may take about 5 minutes.
768
773
instance_type = instance_type,
769
774
)
770
775
771
- Because ``catboost `` relies on the PyTorch Deep Learning Containers
776
+ Because ``catboost `` and `` lightgbm `` rely on the PyTorch Deep Learning Containers
772
777
image, the corresponding Models and Endpoints display the “pytorch”
773
778
prefix when viewed in the AWS console. To verify that these models
774
779
were created successfully with your desired base model, refer to
@@ -779,7 +784,7 @@ Perform Inference
779
784
780
785
Finally, use the ``predictor`` instance to query your endpoint. For
781
786
``catboost-classification-model ``, for example, the predictor accepts
782
- a string . For more information about how to use the predictor, see
787
+ a csv . For more information about how to use the predictor, see
783
788
the
784
789
`Appendix <https://sagemaker.readthedocs.io/en/stable/overview.html#appendix >`__.
785
790
@@ -806,9 +811,8 @@ using “training” as the model scope. Use the utility functions to
806
811
retrieve the URI of each of the three components you need to
807
812
continue. The HuggingFace model in this example requires a GPU
808
813
instance, so use the ``ml.p3.2xlarge `` instance type. For a complete
809
- list of available SageMaker instance types , see `Available SageMaker
810
- Studio Instance
811
- Types <https://docs.aws.amazon.com/sagemaker/latest/dg/notebooks-available-instance-types.html>`__.
814
+ list of available SageMaker instance types, see the `SageMaker On-Demand Pricing
815
+ Table <https://aws.amazon.com/sagemaker/pricing/#On-Demand_Pricing> `__ and select 'Training'.
812
816
813
817
.. code :: python
814
818
@@ -969,45 +973,45 @@ ContentType of ``application/list-text``.
969
973
970
974
.. container ::
971
975
972
- +-----------------------+-----------------------+-----------------------+
973
- | Task | Identifier | ContentType |
974
- +-----------------------+-----------------------+-----------------------+
975
- | Image Classification | ic | "application/x-image" |
976
- +-----------------------+-----------------------+-----------------------+
977
- | Object Detection | od, od1 | "application/x-image" |
978
- +-----------------------+-----------------------+-----------------------+
979
- | Semantic Segmentation | semseg | "application/x-image" |
980
- +-----------------------+-----------------------+-----------------------+
981
- | Instance Segmentation | is | "application/x-image" |
982
- +-----------------------+-----------------------+-----------------------+
983
- | Text Classification | tc | "application/x-text" |
984
- +-----------------------+-----------------------+-----------------------+
985
- | Sentence Pair | spc | "a |
986
- | Classification | | pplication/list-text" |
987
- +-----------------------+-----------------------+-----------------------+
988
- | Extractive Question | eqa | "a |
989
- | Answering | | pplication/list-text" |
990
- +-----------------------+-----------------------+-----------------------+
991
- | Text Generation | textgeneration | "application/x-text" |
992
- +-----------------------+-----------------------+-----------------------+
993
- | Image Classification | icembedding | "application/x-image" |
994
- | Embedding | | |
995
- +-----------------------+-----------------------+-----------------------+
996
- | Text Classification | tcembedding | "application/x-text" |
997
- | Embedding | | |
998
- +-----------------------+-----------------------+-----------------------+
999
- | Named-entity | ner | "application/x-text" |
1000
- | Recognition | | |
1001
- +-----------------------+-----------------------+-----------------------+
1002
- | Text Summarization | summarization | "application/x-text" |
1003
- +-----------------------+-----------------------+-----------------------+
1004
- | Text Translation | translation | "application/x-text" |
1005
- +-----------------------+-----------------------+-----------------------+
1006
- | Tabular Regression | regression | "text/csv" |
1007
- +-----------------------+-----------------------+-----------------------+
1008
- | Tabular | classification | "text/csv" |
1009
- | Classification | | |
1010
- +-----------------------+-----------------------+-----------------------+
976
+ +-----------------------+-----------------------+------------------------- +
977
+ | Task | Identifier | ContentType |
978
+ +-----------------------+-----------------------+------------------------- +
979
+ | Image Classification | ic | "application/x-image" |
980
+ +-----------------------+-----------------------+------------------------- +
981
+ | Object Detection | od, od1 | "application/x-image" |
982
+ +-----------------------+-----------------------+------------------------- +
983
+ | Semantic Segmentation | semseg | "application/x-image" |
984
+ +-----------------------+-----------------------+------------------------- +
985
+ | Instance Segmentation | is | "application/x-image" |
986
+ +-----------------------+-----------------------+------------------------- +
987
+ | Text Classification | tc | "application/x-text" |
988
+ +-----------------------+-----------------------+------------------------- +
989
+ | Sentence Pair | spc | "application/list-text" |
990
+ | Classification | | |
991
+ +-----------------------+-----------------------+------------------------- +
992
+ | Extractive Question | eqa | "application/list-text" |
993
+ | Answering | | |
994
+ +-----------------------+-----------------------+------------------------- +
995
+ | Text Generation | textgeneration | "application/x-text" |
996
+ +-----------------------+-----------------------+------------------------- +
997
+ | Image Classification | icembedding | "application/x-image" |
998
+ | Embedding | | |
999
+ +-----------------------+-----------------------+------------------------- +
1000
+ | Text Classification | tcembedding | "application/x-text" |
1001
+ | Embedding | | |
1002
+ +-----------------------+-----------------------+------------------------- +
1003
+ | Named-entity | ner | "application/x-text" |
1004
+ | Recognition | | |
1005
+ +-----------------------+-----------------------+------------------------- +
1006
+ | Text Summarization | summarization | "application/x-text" |
1007
+ +-----------------------+-----------------------+------------------------- +
1008
+ | Text Translation | translation | "application/x-text" |
1009
+ +-----------------------+-----------------------+------------------------- +
1010
+ | Tabular Regression | regression | "text/csv" |
1011
+ +-----------------------+-----------------------+------------------------- +
1012
+ | Tabular | classification | "text/csv" |
1013
+ | Classification | | |
1014
+ +-----------------------+-----------------------+------------------------- +
1011
1015
1012
1016
********************************
1013
1017
SageMaker Automatic Model Tuning
0 commit comments