Function Schema Generator
Write valid tool-calling JSON schemas without hand-editing braces.
Turn question and answer pairs into a JSONL training file for OpenAI, Llama or Gemini.
The Fine-Tuning Dataset Formatter converts question and answer pairs from labels, spreadsheet columns or text blocks into a JSONL training file for OpenAI chat, ShareGPT, Alpaca, Gemini or prompt and completion, with an optional system prompt and duplicate removal.
Most fine-tuning data starts life as a spreadsheet, a FAQ page or a document of questions and answers. Getting it into the exact JSONL shape a trainer expects — escaped correctly, one object per line, with the right keys — is tedious and easy to get subtly wrong.
Paste your pairs as Q: and A: labels, two tab-separated columns copied from a spreadsheet, or blocks with the prompt on the first line. Choose the target format: OpenAI chat messages for GPT fine-tuning, ShareGPT conversations for Axolotl, LLaMA-Factory and Unsloth, Alpaca instruction and output, Gemini contents for Vertex AI, or the legacy prompt and completion format. An optional system prompt is added to every example.
Whitespace is tidied, duplicate prompts are removed so they cannot leak into your validation split, and the token size of each example and of the whole epoch is shown. Examples too long for a typical training context and datasets too small to beat a good prompt are flagged.
OpenAI chat messages, ShareGPT, Alpaca, Gemini contents and legacy prompt and completion.
Two tab-separated columns pasted from Excel or Google Sheets become pairs directly.
Train with the exact system prompt you will use in production.
Repeated prompts are dropped so they cannot inflate validation scores.
Flags datasets under the minimum and examples too long for common training contexts.
Q: and A: labels, spreadsheet columns or blank-line blocks are detected.
OpenAI chat, ShareGPT, Alpaca, Gemini or prompt and completion.
Optional. It is written into every example exactly as it will be used in production.
Validate it, split off a validation set, and upload it to your trainer.
ShareGPT stores a multi-turn conversation as a list of turns marked human and gpt. Alpaca stores a single instruction, an optional input and an output. ShareGPT suits chat models; Alpaca suits single-turn instruction tasks.
Include the same system prompt you will use in production. The model learns the behaviour in the context of that prompt, and a mismatch at inference time weakens the effect.
At least 10 for OpenAI to accept the file, and usually 50 to 100 good examples before results clearly beat prompting. Quality and variety matter more than volume.
Duplicates overweight those examples during training, and if one copy lands in the validation set the validation score becomes misleadingly good.
No. Formatting runs in your browser, and the file is created on your device.
What people who use the Fine-Tuning Dataset Formatter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Fine-Tuning Dataset Formatter. It takes half a minute and no account.
Write the first reviewWrite valid tool-calling JSON schemas without hand-editing braces.
See the file size of every GGUF quant of a model, and which ones fit your memory.
Convert a conversation into ChatML, Llama 3, Mistral, Gemma or Alpaca prompt templates.
See whether your text fits a model context window, and how much room is left.
Build a structured system prompt for a chatbot, assistant or custom GPT.
Find the right resolution for SDXL, FLUX, DALL-E or Midjourney at any aspect ratio.
Fill a prompt template from spreadsheet rows and get one prompt per row.
Generate robots.txt rules to block GPTBot, ClaudeBot, CCBot and other AI crawlers.