Glasa Lab / Blog / Data prep

How to prepare and package a dataset for AI buyers

What an AI lab's diligence team asks for, how to lay out a data room, how to pick a sample that survives scrutiny, and how to write the datasheet, manifest and quality report that make a dataset easy to say yes to.

By Glasa Lab TeamPublished Updated 15 min read

To prepare a dataset for AI buyers, you need three things besides the data: evidence that you have the right to share it, documentation that explains what it is and how it was made, and a representative sample the buyer can test. In practice that means a small, well-organised data room with a datasheet, a file manifest with checksums, a quality report, a de-identification report and a provenance pack, plus a cleaned sample under NDA. Buyers decide quickly. A tidy package gets a technical evaluation; a pile of exports and a promise gets a polite follow-up email that never comes.

Key takeaways

  • Diligence asks five questions: do you have the rights, is it clean, what exactly is it, is it any good, and can we load it? Organise the data room around those.
  • Write a datasheet. Gebru et al.'s "Datasheets for Datasets" questions are the de facto checklist, and buyers' own documentation duties under the EU AI Act make them care.
  • A sample is a disclosure. Clean it to the same standard as the full delivery, and make it representative rather than flattering.
  • Ship a manifest with checksums so both sides can prove what was delivered.
  • Run and report quality checks: duplicates, broken links between records, encoding, coverage and residual personal data.

What does an AI buyer's due diligence check?

Diligence on a dataset is closer to buying a small company than to buying software. The buyer is about to put your data into a model it may sell for years, and it cannot take the data back out. So it checks five things, roughly in this order.

  1. Rights. Who created the data, who owns it, and whether anything inside belongs to someone else: contractors, clients, open-source code, third-party content.
  2. Privacy and confidentiality. What personal data was in the source, what you did about it, what notices people received, and what confidential information (yours or others') remains.
  3. Description. What the dataset contains, how it was collected, what time period it covers, and what was removed.
  4. Quality and usefulness. Volume, coverage, duplication, linkage between records and whether a sample yields the tasks the buyer has in mind.
  5. Technical fit. Formats, schemas, file sizes, and whether their pipeline can read it without a week of custom work.

Why buyers have become stricter

Two reasons. First, the public dataset ecosystem has a poor record on provenance. The Data Provenance Initiative, a 2023 audit of more than 1,800 text datasets led by Shayne Longpre and colleagues, found "frequent miscategorization of licenses on widely used dataset hosting sites", with omission rates above 70% and error rates above 50%. Labs that lived through that now ask private sellers harder questions.

Second, regulation. Under Article 53 of the EU AI Act, providers of general-purpose AI models must document their training process and publish a summary of training content using the AI Office's template. For high-risk systems, Article 10 requires data governance covering "data collection processes and the origin of data", "data-preparation processing operations, such as annotation, labelling, cleaning, updating, enrichment and aggregation", and examination for possible biases. Training data should be "relevant, sufficiently representative, and to the best extent possible, free of errors and complete." A buyer with those duties needs your documentation to write its own. Our guide to what an AI buyer will need to prove covers the legal side.

The upside for a seller: if you answer these questions before they are asked, you shorten the deal and look like a supplier rather than a risk.

Step 1: How do you scope and inventory the dataset?

Write down what you are offering before you export anything. A one-page inventory makes every later step faster and stops scope creep in negotiations.

For each source system, record:

  • System and export method (Slack export, Google Vault, Jira API, git mirror, PDM vault, S3 bucket).
  • Date range and volume: messages, tickets, files, repositories, gigabytes.
  • Record types and how they link: ticket to commit, email to CRM account, drawing to bill of materials.
  • Who created the content: employees, contractors, customers, suppliers.
  • Known exclusions: HR, legal, board, DMs, client-owned material.

Linkage deserves special attention. Buyers value data that connects across systems because it shows how work actually happens, from the request to the discussion to the change. If your Jira keys appear in commit messages, or your CAD part numbers appear in ERP records, say so in the inventory. Those joins are often the most valuable thing you have, and they are easy to destroy by accident during clean-up. Our guide to what makes company data valuable goes further on this.

Step 2: How should you lay out a data room for a dataset sale?

Keep it small, numbered and predictable. A diligence reviewer should find any document in under a minute. This is the structure we use:

FolderWhat goes in itWho reads it
00_overviewOne-page summary, inventory, contact list, version logEveryone, first
01_datasheetDatasheet or data card; machine-readable metadata (for example a Croissant JSON-LD file)Research and data teams
02_sampleCleaned sample, its own manifest, a note on how it was drawnResearch team
03_schema_and_formatsSchemas, field dictionaries, example records, loader scriptData engineers
04_qualityQuality report with statistics and known issuesResearch and data teams
05_privacyDe-identification report, privacy notices, assessments (such as a legitimate interests assessment or DPIA)Privacy and legal
06_rightsChain-of-title summary, template employment and contractor IP clauses, third-party exclusionsLegal
07_securityHow the data is stored and will be transferred; access logSecurity

A few practical points. Use a proper virtual data room or a locked-down cloud folder with per-person access, download logging and watermarked PDFs. Put an NDA in place before anyone sees 02_sample. Do not put the full dataset in the room. Name files with dates and versions (datasheet_v1.2_2026-11-20.pdf), because you will revise them during negotiation and both sides need to know which version they read.

Summaries beat raw documents in 06_rights. Buyers do not need every employment contract; they need a table that says which contributor groups exist, which agreement covers each, and where the gaps are, with template clauses attached. Offer the underlying documents on request.

Step 3: How do you choose a sample for AI buyers?

Draw it at random from the cleaned data, stratified so it covers every source and time period, and say exactly how you drew it. A hand-picked "best of" sample tells the buyer nothing about the other 99%, and experienced research teams spot it immediately.

What a good sample looks like

  • Stratified. Proportional slices from each system, team or product line, and from early, middle and recent years.
  • Whole units. Complete threads, complete tickets with their linked commits, complete repositories or assemblies. A random 1% of messages shredded out of context is useless for evaluating conversational or agentic tasks.
  • Reproducible. Record the selection method and random seed in a short sampling note, so you can show the sample was not cherry-picked.
  • Honest. Include the messy parts: abandoned tickets, failed builds, short exchanges. Buyers want to see the real distribution, and real failure cases are often what they want most.
  • Clean. It goes through the full de-identification and secrets pipeline first. There is no such thing as a "quick sample" from a privacy point of view.

How big? Large enough for the buyer's research team to estimate how many useful examples or tasks the full dataset would yield, and small enough that losing it would not hurt you. In our experience that is usually a small fraction of the full set; the right size depends on the data type and the buyer's use, so agree it with them rather than guessing. If the buyer wants to run its own evaluation, consider offering a held-out evaluation slice that is never used for training. Our evaluation and QA page describes how we build held-out splits.

Step 4: How do you write a datasheet for a dataset?

Answer the questions from "Datasheets for Datasets" in plain language, for your specific data. Most AI researchers know the framework, so using its structure means they know where to look.

The paper, by Timnit Gebru and colleagues (first posted in 2018, published in Communications of the ACM in December 2021), proposes that every dataset be accompanied by a datasheet documenting its "motivation, composition, collection process, recommended uses, and so on." Its questions are grouped into seven sections: motivation, composition, collection process, preprocessing/cleaning/labeling, uses, distribution and maintenance. The authors are clear that the questions "are not intended to be prescriptive", so skip what does not apply and add what your data needs.

Some of the original questions map directly onto what an AI buyer asks a company seller:

  • "For what purpose was the dataset created?" For company data, the honest answer is usually "it was not; it is the by-product of running a business". Say so, and explain the business context.
  • "Does the dataset contain data that might be considered confidential (e.g., data that is protected by legal privilege or by doctor–patient confidentiality, data that includes the content of individuals' non-public communications)?" Slack and email answer yes to the last part by definition. Explain what you did about it.
  • "Is it possible to identify individuals (i.e., one or more natural persons), either directly or indirectly (i.e., in combination with other data) from the dataset?" Point to your de-identification report.
  • "Are there any errors, sources of noise, or redundancies in the dataset?" Point to your quality report.
  • "Is the dataset self-contained, or does it link to or otherwise rely on external resources?" Broken links to Google Docs, Figma files and internal wikis are common in exports. List them.

A datasheet outline for company data

SectionWhat to write for company data
MotivationThe business that produced the data, what the team did, and why you are offering it now
CompositionRecord types and counts, date ranges, languages, how records link, what a single example looks like, what was excluded and why
Collection processSource systems, export tools and dates, who created the content (employees, contractors, customers), what notices they received
Preprocessing and cleaningDe-identification steps, secrets removal, deduplication, format conversions, any filtering; whether the raw data is retained
UsesUses you think the data suits (for example agent training, evaluation, retrieval) and uses you will not permit
DistributionHow it will be delivered, under what kind of licence, with what restrictions on onward sharing
MaintenanceWhether there will be refreshes, how errors are reported and fixed, how removal requests are handled

Other formats worth knowing

Google's Data Cards (Pushkarna, Zaldivar and Kjartansson, FAccT 2022) are "structured summaries of essential facts about various aspects of ML datasets", designed for a broader audience than researchers. Bender and Friedman's Data Statements (TACL, 2018) focus on language data: speaker demographics, language variety and the setting of the speech. If your data is text, borrowing their questions about who wrote it and in what context is worthwhile. On the Hugging Face Hub, a dataset card is simply the repository's README with a YAML metadata header for licence, language, size and task tags.

For machine-readable metadata, MLCommons' Croissant format is "an open, community-built, standardized metadata vocabulary for ML datasets", built on schema.org, with a responsible-AI extension that captures data card attributes. Hugging Face, Kaggle and OpenML publish Croissant descriptions. The Data & Trust Alliance's Data Provenance Standards (v1.0.0, July 2024) define 22 metadata fields across three standards, Source, Provenance and Use, including data origin geography, the range of dates over which data was generated, collection method, confidentiality classification, privacy-enhancing technologies applied, intended data use and presence of proprietary data. Filling in those 22 fields is a quick way to check your datasheet has no gaps.

Step 5: What should the manifest and package contain?

A manifest is a file listing every file in the delivery with its size and a cryptographic checksum. It is the single most useful document for avoiding delivery disputes, because it lets both sides prove exactly what was sent and received.

You do not need to invent a format. The BagIt packaging format (RFC 8493, October 2018), developed for digital preservation, is "suitable for reliable storage and transfer". A bag has a payload directory plus a payload manifest such as manifest-sha256.txt, and the RFC requires that "Every payload manifest MUST list every payload file name exactly once." The Library of Congress maintains open-source tools that create and validate bags. If you prefer something simpler, a CSV with path, bytes, SHA-256 and record count per file does the same job.

Formats

Deliver two layers where you can: the original formats, and a normalised layer the buyer can load immediately.

  • Original formats keep information that conversion loses: .eml or mbox for email, native git repositories, STEP and native CAD files with their assemblies, the original JSON from a Slack export.
  • Normalised formats make the data usable: JSON Lines or Parquet with one record per message, ticket or event, and stable IDs that link across tables.
  • A schema and field dictionary for every normalised table, with types, allowed values and an example record.
  • A loader script or notebook that reads the normalised layer and prints a few examples. It saves the buyer's engineers a day and proves the files are well-formed.

Version everything. A dataset release gets a version number, a date and a changelog entry, and the manifest belongs to that version. When you fix an issue found during acceptance, you ship a new version with a new manifest rather than quietly replacing files.

Step 6: What quality checks should you run before delivery?

Run them, fix what you can, and report the rest. A quality report that lists known issues builds more trust than one that claims none.

CheckWhy it mattersHow to do it
Exact and near-duplicatesDuplicates waste training and increase memorisationHash normalised records for exact matches; MinHash or similar for near-duplicates such as forwarded emails and copied templates
Linkage integrityBroken joins destroy cross-system valueCount foreign keys (ticket IDs, commit hashes, part numbers) that point to missing records
Completeness and gapsMissing months or teams skew the dataPlot volume by month and by source; explain every gap
Encoding and parsingGarbled text and truncated files fail silently in pipelinesValidate UTF-8, parse every file, check for zero-byte and truncated files
Timestamps and time zonesSequence matters for agent and workflow tasksNormalise to UTC, flag out-of-order events, record any date shifting from de-identification
Language and content mixBuyers target specific languages and domainsReport language distribution and share of automated messages (bots, alerts, notifications)
Residual personal data and secretsThe most damaging failureSecond-pass PII and secret scan on the final package; report findings and fixes
Machine-generated contentBuyers want human-produced data and need to know the mixFlag bot output and, where known, periods of heavy AI-assistant use

Deduplication deserves its place at the top. Lee and colleagues found that existing training datasets contain "many near-duplicate examples and long repetitive substrings", and that deduplication cut how often models emitted memorised text by a factor of ten. Kandpal, Wallace and Raffel found that a sequence present 10 times in training data "is on average generated ~1000 times more often" than one present once. For company data, the usual culprits are email signatures, legal disclaimers, ticket templates and bot notifications. Removing them improves the data and lowers the privacy risk at the same time.

Step 7: What goes in the provenance and rights pack?

Enough for a buyer's lawyer to conclude that you can grant what you are offering. Typically:

  • Chain of title. A table of contributor groups (employees, contractors, agencies, founders before incorporation, acquired companies) and the agreement that gives the company rights in each group's work.
  • Third-party content. What you removed: open-source code, client deliverables, supplier documents, content under NDA. What remains, and why you are comfortable with it.
  • Privacy record. Your lawful basis, the notices people received, any legitimate interests assessment or DPIA, and the de-identification report. Our guide on how to anonymise data for AI training explains what that report should cover.
  • Corporate authority. Who in the company approved the sale. If the company is in wind-down or insolvency, who has authority to sign; see our guide to selling startup data after a shutdown.
  • Restrictions. Anything the buyer must not do because of obligations you owe others, such as customer contracts that bar certain uses.

Be precise rather than reassuring. "To our knowledge, after reviewing contractor agreements for all 14 contractors who committed code, 12 contain IP assignments; the 2 without are excluded" is far more useful to a buyer than "we own all the data". It also sets up the warranties you will later give, which should match what you actually checked. Our guide to deal terms explains why.

Step 8: How do delivery and acceptance work?

Deliver against a written specification, with a manifest, over a secure channel, and give the buyer a short, defined window to accept. The specification should match the datasheet and the schema files, so that "does the delivery match what we agreed?" has a factual answer.

  • Transfer. Encrypted transfer to a named bucket or through a secure file service, with access limited to named people and links that expire.
  • Verification. The buyer validates checksums against the manifest and confirms receipt in writing.
  • Acceptance. The buyer tests against the specification within an agreed window; issues are reported in writing; you fix and ship a new version.
  • Refresh. If the deal includes new data over time, each refresh gets its own version, manifest and datasheet update.
  • Records. Keep a copy of exactly what was delivered, the manifest and the acceptance confirmation for as long as the licence runs and any warranty claims could be made.

Dataset readiness checklist

Use this before you contact buyers. If you cannot tick a line, either fix it or be ready to explain the gap.

ItemReady when
InventoryEvery source, date range, volume and exclusion is listed on one page
Rights summaryEvery contributor group is mapped to an agreement; gaps are excluded or flagged
De-identification reportTechniques, tools, recall figures and residual risks are written down
Secrets scanFull-history scan done; live credentials rotated
DatasheetAll seven sections answered for this dataset
Machine-readable metadataCroissant file or equivalent fields filled in (optional but appreciated)
SampleStratified, whole units, cleaned, with a sampling note and seed
Schema and loaderField dictionary per table; a script loads the sample without errors
Quality reportDuplicates, linkage, gaps, encoding, residual PII and bot share reported
ManifestEvery file listed once with size and SHA-256
Data roomNumbered folders, access control, NDA in place before sample access
Version logDataset and document versions recorded with dates

If you would like help, tell us about your dataset and we will say what is missing, or browse the marketplace to see how other datasets are presented to buyers. For data-type specifics, see our guides to selling source code, selling CAD files and licensing a text corpus.

Disclosure: Glasa Lab is a data broker and prepares data rooms and documentation for sellers. We have tried to describe a process any seller can follow, whichever route to market you choose.

This guide is general information, not legal advice. Rights, privacy and regulatory requirements depend on your facts, your contracts and the countries involved. Have a qualified lawyer review your rights summary, privacy record and licence before you share data.

FAQ

What documents do AI buyers ask for when buying a dataset?

Typically a datasheet or data card, a schema and file manifest, a quality report, a de-identification or privacy report, a summary of who created the data and how the company holds the rights, and a representative sample under NDA.

What is a datasheet for a dataset?

A document, proposed by Gebru et al. in "Datasheets for Datasets", that answers standard questions about a dataset's motivation, composition, collection process, preprocessing, uses, distribution and maintenance. It has become the most widely recognised format for dataset documentation in AI research.

How big should a sample dataset be?

Big enough for the buyer to estimate how many useful examples or tasks the full set contains, and small enough that its loss would not hurt you. It should be drawn at random, stratified across sources and time, and cleaned to the same standard as the full delivery.

Should I deliver data in original formats or convert it?

Both, where you can. Original formats such as .eml, native git repositories or STEP files keep information that conversion loses, while a normalised layer in JSON Lines or Parquet with a schema lets the buyer start work immediately.

What is a dataset manifest?

A file listing every file in a delivery with its size and a checksum such as SHA-256. It lets both parties verify exactly what was delivered. The BagIt format (RFC 8493) is a ready-made standard for this.

Sources

  1. Gebru, Morgenstern, Vecchione, Wortman Vaughan, Wallach, Daumé III and Crawford, "Datasheets for Datasets", arXiv:1803.09010, published in Communications of the ACM, December 2021. arxiv.org
  2. Pushkarna, Zaldivar and Kjartansson, "Data Cards: Purposeful and Transparent Dataset Documentation for Responsible AI", arXiv:2204.01075, ACM FAccT 2022. arxiv.org
  3. Bender and Friedman, "Data Statements for Natural Language Processing: Toward Mitigating System Bias and Enabling Better Science", Transactions of the ACL 6, 2018. aclanthology.org
  4. Longpre et al., "The Data Provenance Initiative: A Large Scale Audit of Dataset Licensing & Attribution in AI", arXiv:2310.16787, October 2023. arxiv.org
  5. Regulation (EU) 2024/1689 (AI Act), Article 10, via the AI Act Explorer. artificialintelligenceact.eu
  6. Regulation (EU) 2024/1689 (AI Act), Article 53, via the AI Act Explorer. artificialintelligenceact.eu
  7. MLCommons, "Croissant" working group page, accessed 23 November 2026. mlcommons.org
  8. Data & Trust Alliance, "Data Provenance Standards", v1.0.0, accessed 23 November 2026. dtaalliance.org
  9. Hugging Face, "Dataset Cards", Hub documentation, accessed 23 November 2026. huggingface.co
  10. Kunze, Littman, Madden, Scancella and Adams, "The BagIt File Packaging Format (V1.0)", RFC 8493, October 2018. rfc-editor.org
  11. Lee et al., "Deduplicating Training Data Makes Language Models Better", arXiv:2107.06499, July 2021. arxiv.org
  12. Kandpal, Wallace and Raffel, "Deduplicating Training Data Mitigates Privacy Risks in Language Models", arXiv:2202.06539, February 2022. arxiv.org

About Glasa Lab

Glasa Lab is a data broker. We help companies prepare and license their organisational data, CAD and engineering archives, text corpora and logs to AI teams, and we handle the rights checks, de-identification and contracts along the way. We also supply datasets and RL environments to AI labs.

Updated 23 November 2026: first published.

Have data AI labs need?

List Your Data