Skip to content

Commit c27cc2b

Browse files
committed
Squeaky clean
1 parent b9c92c2 commit c27cc2b

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

workshops/fine-tuning-with-sagemakerai-and-bedrock/task_05_fmops/steps/deploy_step.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -115,23 +115,13 @@ def deploy(
115115
)
116116

117117
print(f"deploying endpoint: {endpoint_name}")
118-
119-
data_capture_config = DataCaptureConfig(
120-
enable_capture=True,
121-
sampling_percentage=100,
122-
destination_s3_uri='s3://sagemaker-us-east-1-329542461890/data-capture/',
123-
capture_options=["REQUEST", "RESPONSE"],
124-
csv_content_types=["text/csv"],
125-
json_content_types=["application/json"]
126-
)
127-
118+
128119
predictor = model.deploy(
129120
endpoint_name=endpoint_name,
130121
initial_instance_count=instance_count,
131122
instance_type=instance_type,
132123
container_startup_health_check_timeout=health_check_timeout,
133124
model_data_download_timeout=model_data_download_timeout,
134-
data_capture_config=data_capture_config
135125
)
136126

137127
# Log deployment metrics

workshops/fine-tuning-with-sagemakerai-and-bedrock/task_05_fmops/steps/qualitative_eval_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def evaluate_model_qualitatively(model_config, dataset):
470470

471471
# Define the model to evaluate
472472
model_to_evaluate = {
473-
"name": "Fine-tuned DeepSeek-R1-Distill-Llama-8B",
473+
"name": "Fine-tuned Qwen3-4B-Instruct-2507",
474474
"endpoint": endpoint_name
475475
}
476476

workshops/fine-tuning-with-sagemakerai-and-bedrock/task_05_fmops/steps/quantitative_eval_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def evaluate_model_on_dataset(model_config, dataset):
340340

341341
# Define the model to evaluate
342342
model_to_evaluate = {
343-
"name": "Fine-tuned DeepSeek-R1-Distill-Llama-8B",
343+
"name": "Fine-tuned Qwen3-4B-Instruct-2507",
344344
"endpoint": FINETUNED_MODEL_ENDPOINT
345345
}
346346
# Limit the number of samples to evaluate (for faster execution)

0 commit comments

Comments
 (0)