What carries over from an OpenAI training file
OpenAI's chat fine-tuning rows, one {"messages": [...]} object per line, are the same shape as Attempts' chat format. Two things must be added: a group key on every row, and at least 3 distinct groups. Some OpenAI fields are refused or not read.
| In your OpenAI file | On Attempts | Detail |
|---|---|---|
| One JSON object per line, UTF-8 | Carries over | An OpenAI training file is already JSONL. Attempts takes files up to 50 MB with a name ending in .jsonl. |
| {"messages": [...]} rows | Carries over | Attempts reads the same chat format: a messages list with the roles system, user, assistant and tool, ending with an assistant message. |
| Tool calling in the current shape | Carries over | Assistant messages with tool_calls, tool messages, and an optional tools list of objects on the row are accepted as they are. |
| Group key on every row | Add it | Attempts needs a document_id (or another field you name) on every row, and at least 3 distinct values. It splits your data by group into training (70%), validation (15%) and test (15%), so related rows never land on both sides of the split. The converter adds one group per row, or copies a field you name. |
| weight on assistant messages | Change it | Attempts does not read weight: the model learns the final assistant message of each row, and earlier assistant messages are context. The converter removes weight keys and flags any row whose final assistant message had weight 0. |
| Older function calling: functions, function_call, the function role | Change it | The role 'function' is refused, and functions and function_call are not read. Rewrite them as tools, tool_calls and tool messages. The converter lists each row that needs it. |
| The developer role | Change it | Refused: use system instead. The converter lists each row that has it. |
| Other top-level fields, such as parallel_tool_calls or metadata | Not read | They can stay in the file; Attempts ignores them. The converter lists them so nothing is dropped without you knowing. |