Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions sagemaker-core/sample/sagemaker/2017-07-24/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -43236,6 +43236,10 @@
"EvaluatorArn":{
"shape":"EvaluatorArn",
"documentation":"<p> The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt. </p>"
},
"SequenceLength":{
"shape":"SequenceLength",
"documentation":"<p> The sequence length for the training job. </p>"
}
},
"documentation":"<p> The configuration for the serverless training job. </p>"
Expand All @@ -43247,6 +43251,19 @@
"Evaluation"
]
},
"SequenceLength":{
"type":"string",
"enum":[
"1K",
"2K",
"4K",
"8K",
"16K",
"32K",
"64K",
"128K"
]
},
"ServerlessMaxConcurrency":{
"type":"integer",
"box":true,
Expand Down
2 changes: 2 additions & 0 deletions sagemaker-core/src/sagemaker/core/shapes/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9588,6 +9588,7 @@ class ServerlessJobConfig(Base):
peft: The parameter-efficient fine-tuning configuration.
evaluation_type: The evaluation job type. Required when serverless job type is Evaluation.
evaluator_arn: The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.
sequence_length: The sequence length for the training job.
"""

base_model_arn: StrPipeVar
Expand All @@ -9597,6 +9598,7 @@ class ServerlessJobConfig(Base):
peft: Optional[StrPipeVar] = Unassigned()
evaluation_type: Optional[StrPipeVar] = Unassigned()
evaluator_arn: Optional[StrPipeVar] = Unassigned()
sequence_length: Optional[StrPipeVar] = Unassigned()


class MlflowConfig(Base):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15877,6 +15877,7 @@
{"name": "Peft", "shape": "Peft", "type": "string"},
{"name": "EvaluationType", "shape": "EvaluationType", "type": "string"},
{"name": "EvaluatorArn", "shape": "EvaluatorArn", "type": "string"},
{"name": "SequenceLength", "shape": "SequenceLength", "type": "string"},
],
"type": "structure",
},
Expand Down
Loading
Loading