Processed online by Toolvito
AI Dataset Preparation Tool
Paste a dataset in JSON Lines (one JSON object per line) or a CSV. Check it, clean it, split it or convert it for training a language model.
What each task does
- Validate: every line must be a JSON object. Chat records need a “messages” list with a role (system, user, assistant or tool) and some content in each message, and at least one assistant message.
- Remove duplicates: the same record twice is kept once. With “Ignore case and spaces”, records that differ only in capitals or spaces count as the same.
- Split: a share of the records goes to a test file, picked at random. The same set number gives the same split again.
- Convert CSV: each row becomes a chat record (system, user, assistant) or an instruction record (instruction, input, output) from the columns you name.
- Count the tokens: the language model server’s own tokenizer counts each record exactly. Nothing is written by AI.
Messy records
Turn messy records into JSON Lines (AI) asks a language model that runs on the Toolvito server to put loose notes or copied tables into JSON objects. Code checks every line is a JSON object and every value is in your records. Then press Check these lines.