Fine-tune dataset validator
dataset-validateChecks chat (OpenAI-style), messages (Anthropic-style) or Alpaca JSONL: per-line errors, role order, empty turns, duplicates, token estimates and a training-cost estimate from your price. Returns { format, lines, valid, invalid, ok, errors: [{ line, code, message }] (first 100), errorCount, errorsTruncated, duplicates: [{ line, firstLine }], duplicateCount, tokens: { total, mean, max }, costEstimate } Price: 2 credits (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jsonl | Yes | JSONL: one JSON object per line, up to 60,000 characters and 5,000 lines. Blank lines are ignored. | |
| epochs | No | Training epochs for the cost estimate, 1 to 50. | |
| format | No | openai (messages with system/user/assistant/tool), anthropic (top-level system + user/assistant messages), alpaca (instruction/input/output), or auto to detect from the first parseable row. | auto |
| pricePerMillionTokens | No | Optional: your training price per million tokens, used only for costEstimate (any currency). |