openai/openai-python

OpenAI CLI Tools for Chat Fine-Tuning

Open

#622 opened on Sep 21, 2023

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Python (2,636 forks)batch import
CLIenhancementgood first issue

Repository metrics

Stars
 (19,533 stars)
PR merge metrics
 (Avg merge 4d 6h) (9 merged PRs in 30d)

Description

Describe the feature or improvement you're requesting

Hello everyone,

When using legacy fine-tuning, I find the OpenAI CLI extremely helpful due to its numerous tools. For instance, the Prepare Data Helper and the Create Fine-Tuning are particularly useful.

However, these tools only apply to legacy models, which consist of JSON with prompt and completion keys.

I propose the addition of operations to the existing CLI that can perform the same functions for the new chat fine-tuning.

My Proposal

  • For the sake of backwards compatibility, we could create a new subcommand called chat_fine_tunes.
    • This subcommand would inherit all operations that fine_tunes can perform, such as assisting with data preparation, etc. We can simply replicate the existing operations with minor modifications to suit the new format.

Additional context

I am open to working on this feature if it is approved.

Contributor guide