Training data studio

Turn your documents into reviewed, versioned training data.

XDataset turns statutes, judgments, manuals and policies into grounded fine-tuning and evaluation datasets. A model drafts every example from a source passage, people check each one, and every release can be traced back to its source.

  • 7 dataset types
  • 20 ready-made recipes
  • 4 export layouts
  • 100% on your machine
Works with any OpenAI-compatible endpoint
How it works

From a folder of documents to a dataset you can defend

Five steps, all in one workspace. Each step records who did what, so nothing reaches a release without a trail.

  1. 1

    Ingest

    Drop in PDF, Word, text or scanned images. Files are checked, split into passages, and exact or near-duplicate documents are caught.

  2. 2

    Generate

    Pick a recipe and run it over the documents you have rights to. Any OpenAI-compatible model drafts examples, grounded in each passage.

  3. 3

    Review

    Reviewers read every record beside its source, with shared words highlighted. They approve, fix or reject at keyboard speed.

  4. 4

    Publish

    Freeze the approved records as a numbered release, compare it with the last one, and export it or push it to the Hugging Face Hub.

  5. 5

    Evaluate

    Score a fine-tuned model on a release's test questions, by exact match or with an LLM judge and your rubric.

The review workspace

Every record, checked against its source

The passage sits beside the record, and words they share are highlighted. That makes unsupported answers easy to spot. A second model can also judge whether each record is supported by its source.

  • List view for triage and bulk actions; focus view for one record at a time
  • Shortcuts: a approve, r reject, j/k next and previous, z undo
  • Personal data such as IC numbers, emails and phone numbers is flagged, and can be redacted in one click
  • Full history on every record: who changed what, and when
Review workspace
Source · Contracts Act 1950, s. 2

(a) when one person signifies to another his willingness to do or to abstain from doing anything, with a view to obtaining the assent of that other to the act or abstinence, he is said to make a proposal;

draftapprovedInstruction Q&A (SFT)
User

When has someone made a proposal under Malaysian contract law?

Assistant

Under section 2(a) of the Contracts Act 1950, a person makes a proposal when they signal their willingness to do, or not do, something in order to get the other person's assent.

Skip sReject rApprove a
✓ Approved. Next record…
Features

Everything between your documents and your fine-tune

Recipe library

Twenty recipes ready to use: Q&A, IRAC scenario analysis, preference pairs, multiple choice and tool calls. Each one sets sensible instructions for its dataset type.

Suggest with AI

Describe what you want in a line. XDataset reads your project and a sample document, then drafts the recipe instructions or evaluation rubric for you to accept or undo.

Grounded by design

Every record keeps a link to the passage it came from. Examples must stand on their own, so the trained model never relies on text it won't see.

Duplicate control

Exact duplicates are rejected. Near-duplicate documents and records are caught by word overlap and, with an embedding model, by meaning.

Versioned releases

Releases are numbered and frozen, with a diff against the previous one and a dataset card. They export to native, OpenAI, ShareGPT or Hugging Face layouts.

Dashboards and evaluation

See review progress and activity across every project. Score fine-tuned models on held-out questions with exact match or an LLM judge.

Dataset types

One workspace for every kind of training data

Each type has its own schema and validator, so malformed examples are dropped before anyone has to review them.

Instruction Q&ASFT chat pairs for supervised fine-tuning
Reasoning Q&AStep-by-step answers, e.g. IRAC analysis
Preference pairsChosen and rejected answers for DPO
Evaluation questionsHeld-out tests with reference answers
Tool useFunction-calling conversations that pass validation
Retrieval passagesClean chunks for RAG indexes
Raw text corpusContinued pre-training text, no model needed
Security and control

Your documents stay on your machine

XDataset runs locally, in Docker or straight from Python. Documents, records and releases live in a SQLite database on your own disk. Text leaves only when a model needs it: passages go to the model endpoints you configure, and nowhere else.

  • Accounts and rolesViewer, reviewer and admin roles, with per-project membership.
  • Training rightsA document can't be used until someone confirms you have the right to train on it.
  • Encrypted secretsModel keys, Hub tokens and webhook secrets are encrypted, and never sent to the browser.
  • Audit logSign-ins, approvals, releases and setting changes are recorded with who and when.
  • Backups and metricsOnline backups while running, plus Prometheus metrics and health checks.
FAQ

Questions

Which models can generate the data?

Any endpoint that speaks the OpenAI chat completions API: hosted providers, gateways such as OpenRouter, or a local server such as vLLM, Ollama or LM Studio. Raw text and retrieval datasets need no model at all.

Where is my data stored?

In the data directory of the machine running XDataset: a SQLite database plus your uploaded files. Nothing goes to a vendor cloud unless you push a release to the Hugging Face Hub or send a training webhook, and only admins can do either.

Can a team review together?

Yes. Once the first admin account is created, everyone signs in with their own account. Reviewers approve and edit, viewers read, and admins manage settings and members. Every decision is stored with the reviewer's name.

What do I get when I publish?

A numbered release you can download as a ZIP of JSONL files in native, OpenAI, ShareGPT or Hugging Face layout. Each ZIP has a dataset card, plus a manifest listing the source document, split and reviewer of every row.

Does it work for languages other than English?

Yes. Each recipe sets the language of its examples. The library includes Bahasa Melayu recipes, and the review tools work with any text.

Ready to build your next dataset?

Sign in to your workspace to pick up your projects, reviews and releases.

Sign in