Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): add support for fine_tuning.jobs #1224

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

aanaseer
Copy link

@aanaseer aanaseer commented Mar 9, 2024

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

This PR introduces enhancements to the CLI for managing fine_tuning.jobs.
It supports .create, .retrieve, .list, .cancel, and .list_events

Additional context & links

Issue: #622

Examples on how to run in CLI

Create:

openai api fine_tuning.jobs.create \
  --model <model> \
  --training-file <training_file> \
  --hyperparameters <hyperparameters> \
  --suffix <suffix> \
  --validation-file <validation_file>

Retrieve:

openai api fine_tuning.jobs.retrieve \
  --id <fine_tuning_job_id>

List:

openai api fine_tuning.jobs.list \
  --after <after id> \
  --limit <limit>

Cancel:

openai api fine_tuning.jobs.cancel \
  --id <fine_tuning_job_id>

List Fine-Tuning Job Events Example:

openai api fine_tuning.jobs.list_events \
  --id <fine_tuning_job_id> \
  --after  <after id>  \
  --limit <limit>

@aanaseer aanaseer requested a review from a team as a code owner March 9, 2024 08:41
@RobertCraigie RobertCraigie changed the title Adds CLI support for fine_tuning.jobs feat(cli): add support for fine_tuning.jobs Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant