Skip to content

Commit 74a1bda

Browse files
theophile-oaishikhar-cyber
authored andcommitted
rft.ipynb: typo updates (#1903)
1 parent 40c7ccc commit 74a1bda

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/Reinforcement_Fine_Tuning.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,8 +1339,8 @@
13391339
"outputs": [],
13401340
"source": [
13411341
"# Set your training and test file paths\n",
1342-
"train_file = \"data/medical_01_verifiable_problem_train_with_prompt.jsonl\"\n",
1343-
"test_file = \"data/medical_01_verifiable_problem_val_with_prompt.jsonl\"\n",
1342+
"train_file = \"data/medical_01_verifiable_problem_train_simple_prompt.jsonl\"\n",
1343+
"test_file = \"data/medical_01_verifiable_problem_val_simple_prompt.jsonl\"\n",
13441344
"\n",
13451345
"def upload_file(file_path: str) -> str:\n",
13461346
" \"\"\"Upload a file to the OpenAI platform for fine-tuning.\"\"\"\n",
@@ -1389,7 +1389,7 @@
13891389
"grader = model_grader_2\n",
13901390
"response_format = None\n",
13911391
"compute_multiplier = 1.0\n",
1392-
"etest_samples = 1\n",
1392+
"eval_samples = 1\n",
13931393
"eval_interval = 5"
13941394
]
13951395
},
@@ -1409,7 +1409,7 @@
14091409
"# Launch the RFT job\n",
14101410
"payload = dict(\n",
14111411
" training_file=train_file_id,\n",
1412-
" test_file=test_file_id,\n",
1412+
" validation_file=test_file_id,\n",
14131413
" model=model,\n",
14141414
" suffix=suffix,\n",
14151415
" method=dict(\n",
@@ -1419,7 +1419,7 @@
14191419
" response_format=response_format,\n",
14201420
" hyperparameters=dict(\n",
14211421
" compute_multiplier=compute_multiplier,\n",
1422-
" etest_samples=etest_samples,\n",
1422+
" eval_samples=eval_samples,\n",
14231423
" eval_interval=eval_interval,\n",
14241424
" n_epochs=n_epochs,\n",
14251425
" reasoning_effort=reasoning_effort,\n",
@@ -2116,7 +2116,7 @@
21162116
"name": "python",
21172117
"nbconvert_exporter": "python",
21182118
"pygments_lexer": "ipython3",
2119-
"version": "3.11.8"
2119+
"version": "3.12.9"
21202120
}
21212121
},
21222122
"nbformat": 4,

0 commit comments

Comments
 (0)