Skip to content

Commit 09c4d70

Browse files
committed
improve comment
1 parent d251d6e commit 09c4d70

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

examples/Fine_tuning_direct_preference_optimization_guide.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@
631631
},
632632
{
633633
"cell_type": "code",
634-
"execution_count": 54,
634+
"execution_count": 59,
635635
"metadata": {},
636636
"outputs": [
637637
{
@@ -655,7 +655,7 @@
655655
}
656656
],
657657
"source": [
658-
"# run the evaluation\n",
658+
"# get scores from the evaluation\n",
659659
"post_data = sync_client.evals.runs.output_items.list(\n",
660660
" eval_id=logs_eval.id, run_id=post_run.id\n",
661661
").data\n",
@@ -672,6 +672,13 @@
672672
"print(f\"Base model reply: \\n {base_data[idx].sample.output[0].content} \\n\")\n",
673673
"print(f\"DPO-tuned model reply \\n {post_data[idx].sample.output[0].content}\")"
674674
]
675+
},
676+
{
677+
"cell_type": "code",
678+
"execution_count": null,
679+
"metadata": {},
680+
"outputs": [],
681+
"source": []
675682
}
676683
],
677684
"metadata": {

0 commit comments

Comments
 (0)