Skip to content

Commit 2dc04e0

Browse files
authored
Update tuning_with_checkpoints_create.py (#13562)
* Update tuning_with_checkpoints_create.py * Update tuning_job_create.py
1 parent 5426f61 commit 2dc04e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

genai/tuning/tuning_job_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def create_tuning_job(output_gcs_uri: str) -> str:
3636
metrics=[
3737
Metric(
3838
name="FLUENCY",
39-
prompt_template="""Evaluate this {response}"""
39+
prompt_template="""Evaluate this {prediction}"""
4040
)
4141
],
4242
output_config=OutputConfig(

genai/tuning/tuning_with_checkpoints_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def create_with_checkpoints(output_gcs_uri: str) -> str:
3636
metrics=[
3737
Metric(
3838
name="FLUENCY",
39-
prompt_template="""Evaluate this {response}"""
39+
prompt_template="""Evaluate this {prediction}"""
4040
)
4141
],
4242
output_config=OutputConfig(

0 commit comments

Comments
 (0)