Skip to content

Commit f7e8542

Browse files
committed
update
1 parent c400bb8 commit f7e8542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/includes/fine-tuning-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ When each training epoch completes a checkpoint is generated. A checkpoint is a
226226
You can run the list checkpoints command to retrieve the list of checkpoints associated with an individual fine-tuning job. You might need to upgrade your OpenAI client library to the latest version with `pip install openai --upgrade` to run this command.
227227

228228
```python
229-
response = client.fine_tuning.jobs.list_events(fine_tuning_job_id=job_id, limit=10)
229+
response = client.fine_tuning.jobs.checkpoints.list(job_id)
230230
print(response.model_dump_json(indent=2))
231231
```
232232

0 commit comments

Comments
 (0)