Foundations

How much data do I need and what format should it be in

There is no useful minimum without a task and an acceptance check. Count the cases, recorded hours or covered periods that meet that task’s requirements, then agree a format the recipient can open without losing links or meaning. File size alone cannot answer either question.

Start with what one usable example means

If you are selling, describe what you can actually supply before promising a volume. If you are buying, say what the data must let you do. “Help a support assistant recognize an unresolved refund request” gives both sides a more useful starting point than “we need a large text dataset.”

Write one sentence defining the unit you will count and the evidence it needs. For the refund task, that could be one ticket with the customer’s request, the responses in order and a documented result. A ticket marked closed without result evidence should be counted separately. Other tasks need different units.

Intended useCount thisReport alongside the count
Support response or decision reviewCases meeting the agreed evidence ruleMessages per case, linked files, known and unknown outcomes
Speech recognitionUsable recorded hoursSpeaker and language coverage, recording conditions, transcripts and excluded audio
Forecasting facility demandCovered facility-days or other agreed intervalsNumber of facilities, gaps in dates, capacity and changes in operation
Document retrievalDistinct documents and available versionsCovered subjects, dates, permissions and readable text coverage
Text-model training requested in tokensTokens measured with the agreed tokenizer, the tool that divides text into model input unitsTokenizer name/version, counting rules, distinct documents and duplicate removal

Separate a coverage check from a volume requirement

A small inspection answers “Can these records support the task?” It does not answer “Is there enough to train a model?” or “Will a buyer purchase it?” Start with a bounded mix of ordinary, difficult and incomplete examples. Record how you selected them; a handpicked sample of the best cases cannot establish the usable share of an entire archive.

Before gathering more, ask the recipient what the next decision is: checking format compatibility, measuring model performance, or assessing an ongoing supply. Agree what result would justify expansion. If the missing ingredient is outcome evidence or a rare language, more copies of the common records will not fill that gap.

For model development, allow for examples held apart for evaluation. Google’s guidance calls for testing on examples separate from training, representative coverage and no duplicates shared with the training set. It does not set a universal percentage requirement. Ask the technical reviewer how cases, customers or time periods should be kept apart for this particular task.

Sources: Datasets: Dividing the original dataset

Worked example: 18,000 messages become 1,200 candidate cases

This entire example is fictional. A support operator inspects a bounded export containing 18,000 message rows attached to 2,400 ticket entries. The proposed task is to assess whether an assistant can explain a customer’s issue, the team’s response and the recorded result. The operator checks ticket IDs and contents, message order, attachments and result evidence, using the following rules in sequence.

Inspection stepCount after this stepWhat the count means
Start with exported ticket entries2,400 entriesThis is the export count, before repeated ticket entries are removed
Remove 400 duplicate copies after comparing ticket IDs and contents2,000 distinct ticketsCopies add no cases; retain different messages or versions belonging to the same ticket
Set aside 500 tickets missing the request, response or necessary attachment1,500 tickets with the required contextThe excluded tickets cannot yet support this full-case task
Separate 300 of those tickets with no documented result1,200 cases meeting the stated ruleThe 300 remain outcome-unknown, even if their status is closed

What the operator should conclude from that count

The useful description is “1,200 candidate cases out of 2,000 distinct tickets in the inspected export,” with the exclusions above. It is not “18,000 training examples.” The count describes this export only; it is not an estimate of the rest of the business’s records.

On checking breadth, the fictional operator finds that 1,100 of the 1,200 cases concern password resets and only 100 concern other issues. That may suit a narrow password-reset task, but it does not demonstrate broad support coverage. The next action is to count the other issue types and inspect their missing evidence before requesting a larger export.

The 300 outcome-unknown tickets might still help a different test: can an assistant recognize that the result is undocumented? Keep them labelled unknown rather than turning them into failures or successes. Even a documented refund confirms only the recorded refund, not later customer satisfaction. These are proposed uses, with no buyer demand or model performance demonstrated.

Choose a format that preserves the required structure

Ask what the recipient can read, then test that choice with a permitted sample. The table below offers starting options, not mandatory delivery standards. Avoid converting the whole archive before that test.

CSV is useful for tables, but its column names alone do not define data types or validation rules. W3C’s CSV primer explains how accompanying metadata can describe columns and validate their values. Apache describes Parquet as a column-oriented format for efficient storage and retrieval, while warning that implementations differ in feature support. A smaller file is not enough: the recipient still needs to confirm that it reads correctly.

MaterialPossible delivery to discussWhat must survive the choice
Ticket or transaction tablesCSV for an initial table; Parquet if the recipient supports itStable IDs, field types, date/time interpretation and links between tables
Cases with messages and multiple attachmentsLinked tables, or JSON Lines with one agreed case object per lineCase ID, ordered messages and explicit references to the correct files
Documents and their revisionsPermitted source files plus a file listDocument ID, version/date, readable contents and links to the relevant case
Audio, images or videoAgreed media formats plus labels in a separate tableActual file, recording details, label definitions and any transcript or timing links

Sources: CSV on the Web: A Primer, Apache Parquet overview

Include enough documentation to interpret the files

A schema is a description of the fields and their types. A data dictionary explains what those fields mean. For the fictional export, define ticket_id as a stable text identifier, message_time with its time zone, and outcome_status with allowed values including unknown. Explain whether a blank means not recorded, not applicable or deliberately removed; do not silently replace it with zero.

A manifest is a file list for the delivery. For example, list tickets.csv, messages.csv and an attachments folder, with each attachment linked by ticket ID. Include file counts, sizes, release/version date and checksums, which let the recipient check that transferred files match the supplied copies. State which history or files are absent. A present-day ticket row does not reconstruct earlier states.

Keep original and prepared counts separate. Record duplicate rules, exclusions, redactions and whether content is human-written, AI-assisted or generated. Have the responsible owner decide what may be included before sharing a sample. This worksheet establishes neither permission to disclose customer information nor a licence for training.

Use a coverage and format sheet to agree the next step

Fill in this sheet from inspected records, leaving unmeasured items as unknown. It can begin as an internal description without customer content. No specific buyer program is established by the quantity or format alone; the useful next step is agreeing a task and a permitted inspection.

  • If files cannot be read or links do not join, repair the package and repeat the sample check before expanding.
  • If the files work but the needed cases are missing, narrow the task or identify a source for that gap. Report the limitation alongside the count.
  • If both checks work, agree the larger scope and acceptance criteria with the recipient. A successful inspection is a preparation result, not evidence of a sale or a sufficient model-training volume.
Field or checkWho supplies or checks itDecision it supports
Task and usable-unit ruleBusiness owner and prospective recipientAgree the required context and what counts as complete
Scope and countsSource administratorName the covered systems/dates; report raw, distinct, excluded and usable units with counting rules
Breadth and gapsPerson who knows the workCount by relevant issue, customer/source, language, time period or location; flag concentration and missing groups
Delivery and meaningAdministrator and recipient’s technical reviewerChoose files and schema; confirm IDs, time zones, units, missing-value rules and linked file access
Sample checksAuthorized technical reviewerOpen and parse the sample; compare counts, spot-check original records and test that one complete case joins correctly
Handling and expansionResponsible records owner and recipientResolve sample access and intended use; agree the evidence and coverage needed before a larger delivery

Sources and scope

Source checks support the statements identified below. Product access, contractual rights and suitability for a particular buyer still need to be confirmed for your situation.

  1. CSV on the Web: A Primer ↗W3C · Checked · Source dated Feb 25, 2016

    CSV needs accompanying metadata to express field types and validation rules; the primer explains table/column descriptions.

    Location: Abstract; sections 1.2–1.3; section 3, Validating CSVs

    Non-normative Working Group Note; not a mandatory buyer format or quality certification.

  2. Apache Parquet overview ↗Apache Software Foundation · Checked · Source dated Nov 7, 2026

    Parquet is column-oriented and designed for efficient storage/retrieval; implementations differ in feature support.

    Location: Overview; Other Clients / Libraries / Tools

    General format documentation; no buyer tool compatibility, file conversion or performance was tested.

  3. Datasets: Dividing the original dataset ↗Google for Developers · Checked · Source dated Dec 3, 2025

    Training/test separation, representative test coverage, duplicate exclusion and lack of required split percentages.

    Location: Training, validation, and test sets; Additional problems with test sets; Exercises: Check your understanding

    General model-development guidance; no universal minimum volume, procurement threshold or task-specific split design.