File tree 10 files changed +16
-16
lines changed
10 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def retrieve_options(
46
46
sagemaker_session (sagemaker.session.Session): A SageMaker Session
47
47
object, used for SageMaker interactions. If not
48
48
specified, one is created using the default AWS configuration
49
- chain. (Default: Session() ).
49
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
50
50
Returns:
51
51
list: The supported accept types to use for the model.
52
52
@@ -95,7 +95,7 @@ def retrieve_default(
95
95
sagemaker_session (sagemaker.session.Session): A SageMaker Session
96
96
object, used for SageMaker interactions. If not
97
97
specified, one is created using the default AWS configuration
98
- chain. (Default: Session() ).
98
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
99
99
Returns:
100
100
str: The default accept type to use for the model.
101
101
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def retrieve_options(
46
46
sagemaker_session (sagemaker.session.Session): A SageMaker Session
47
47
object, used for SageMaker interactions. If not
48
48
specified, one is created using the default AWS configuration
49
- chain. (Default: Session() ).
49
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
50
50
Returns:
51
51
list: The supported content types to use for the model.
52
52
@@ -95,7 +95,7 @@ def retrieve_default(
95
95
sagemaker_session (sagemaker.session.Session): A SageMaker Session
96
96
object, used for SageMaker interactions. If not
97
97
specified, one is created using the default AWS configuration
98
- chain. (Default: Session() ).
98
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
99
99
Returns:
100
100
str: The default content type to use for the model.
101
101
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def retrieve_options(
64
64
sagemaker_session (sagemaker.session.Session): A SageMaker Session
65
65
object, used for SageMaker interactions. If not
66
66
specified, one is created using the default AWS configuration
67
- chain. (Default: Session() ).
67
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
68
68
Returns:
69
69
List[BaseDeserializer]: The supported deserializers to use for the model.
70
70
@@ -114,7 +114,7 @@ def retrieve_default(
114
114
sagemaker_session (sagemaker.session.Session): A SageMaker Session
115
115
object, used for SageMaker interactions. If not
116
116
specified, one is created using the default AWS configuration
117
- chain. (Default: Session() ).
117
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
118
118
Returns:
119
119
BaseDeserializer: The default deserializer to use for the model.
120
120
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def retrieve_default(
57
57
sagemaker_session (sagemaker.session.Session): A SageMaker Session
58
58
object, used for SageMaker interactions. If not
59
59
specified, one is created using the default AWS configuration
60
- chain. (Default: Session() ).
60
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
61
61
Returns:
62
62
dict: The variables to use for the model.
63
63
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def retrieve_default(
62
62
sagemaker_session (sagemaker.session.Session): A SageMaker Session
63
63
object, used for SageMaker interactions. If not
64
64
specified, one is created using the default AWS configuration
65
- chain. (Default: Session() ).
65
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
66
66
Returns:
67
67
dict: The hyperparameters to use for the model.
68
68
@@ -121,7 +121,7 @@ def validate(
121
121
sagemaker_session (sagemaker.session.Session): A SageMaker Session
122
122
object, used for SageMaker interactions. If not
123
123
specified, one is created using the default AWS configuration
124
- chain. (Default: Session() ).
124
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
125
125
126
126
Raises:
127
127
JumpStartHyperparametersError: If the hyperparameter is not formatted correctly,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def retrieve_default(
55
55
sagemaker_session (sagemaker.session.Session): A SageMaker Session
56
56
object, used for SageMaker interactions. If not
57
57
specified, one is created using the default AWS configuration
58
- chain. (Default: Session() ).
58
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
59
59
Returns:
60
60
str: The default instance type to use for the model.
61
61
@@ -109,7 +109,7 @@ def retrieve(
109
109
sagemaker_session (sagemaker.session.Session): A SageMaker Session
110
110
object, used for SageMaker interactions. If not
111
111
specified, one is created using the default AWS configuration
112
- chain. (Default: Session() ).
112
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
113
113
Returns:
114
114
list: The supported instance types to use for the model.
115
115
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def retrieve_default(
52
52
sagemaker_session (sagemaker.session.Session): A SageMaker Session
53
53
object, used for SageMaker interactions. If not
54
54
specified, one is created using the default AWS configuration
55
- chain. (Default: Session() ).
55
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
56
56
Returns:
57
57
list: The default metric definitions to use for the model or None.
58
58
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def retrieve(
54
54
sagemaker_session (sagemaker.session.Session): A SageMaker Session
55
55
object, used for SageMaker interactions. If not
56
56
specified, one is created using the default AWS configuration
57
- chain. (Default: Session() ).
57
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
58
58
Returns:
59
59
str: The model artifact S3 URI for the corresponding model.
60
60
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def retrieve(
54
54
sagemaker_session (sagemaker.session.Session): A SageMaker Session
55
55
object, used for SageMaker interactions. If not
56
56
specified, one is created using the default AWS configuration
57
- chain. (Default: Session() ).
57
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
58
58
Returns:
59
59
str: The model script URI for the corresponding model.
60
60
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def retrieve_options(
62
62
sagemaker_session (sagemaker.session.Session): A SageMaker Session
63
63
object, used for SageMaker interactions. If not
64
64
specified, one is created using the default AWS configuration
65
- chain. (Default: Session() ).
65
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
66
66
Returns:
67
67
List[SimpleBaseSerializer]: The supported serializers to use for the model.
68
68
@@ -112,7 +112,7 @@ def retrieve_default(
112
112
sagemaker_session (sagemaker.session.Session): A SageMaker Session
113
113
object, used for SageMaker interactions. If not
114
114
specified, one is created using the default AWS configuration
115
- chain. (Default: Session() ).
115
+ chain. (Default: sagemaker.jumpstart.constants.DEFAULT_JUMPSTART_SAGEMAKER_SESSION ).
116
116
Returns:
117
117
SimpleBaseSerializer: The default serializer to use for the model.
118
118
You can’t perform that action at this time.
0 commit comments