Uploading
By sharing non-personal datasets, you can help advance research, innovation, and collaboration in machine learning and data science. This guide will walk you through the process of preparing, documenting, and publishing AI-Ready Data.
We are building this with reference to the Hugging Face docs and other relevant literature.
Please note: following this guide does not guarantee that your dataset will be included in Apertus training runs.
Open Dataset Publishing Guide
1. Before You Start
Why publish open, AI-ready data?
- Visibility: Your dataset will be discoverable by researchers and developers on frontier efforts.
- Impact: Contribute to open science, accelerate innovation, get recognition on a global level.
- Support: Tap into the open data community as a valuable resources for assistance and impact.
What you will need:
- Your structured information or plain text in a standard format (CSV, JSON, Parquet, etc.)
- A README file with clear documentation (see below for details).
- An account on Hugging Face (sign up here) or an alternative platform.
2. Preparing a Dataset
Organize your data for successful deployment, training, and future maintenance with the tips below.
Organize
- Ensure your dataset is clean, well-structured, and consistent.
- Use standard file formats (e.g., CSV for tabular data, JSON for structured data).
- If your dataset is large, split it into smaller files for easier download.
Verify quality and ethical sourcing
Review your dataset for biases, errors, and missing values, then take these steps to confirm it is ethically sourced and reproducible:
- Version-control your data — host it on Hugging Face, GitHub, or Zenodo for traceability. If it isn’t version-controlled, use tools like Xet to version it (e.g., add a version in the filename when using
hf download). - Check legal compliance — use a permissive license (Apache 2.0, ODbL, CC-BY, CC0). Avoid restrictive licenses (SA, NC) unless required. If a dataset is not compliant, republish it under an open license or contact the authors.
- Check ethical compliance — ensure your dataset complies with Swiss/EU privacy regulations (e.g., GDPR) and moral codes. Apertus technical reports and data guidelines have further recommendations, such as respecting opt-outs.
Prepare for AI/LLM use
- Follow best practices for tokenization and formatting (e.g., JSONL for text data).
- Consider filtering and splitting needs, and provide guidance for machine learning use.
- Include metadata such as language, domain, and intended use cases.
For a dataset to be fully AI-ready, follow these key recommendations (see AI-Ready Data Whitepaper):
- Metadata: use standards (e.g., ML Croissant); add semantic and governance metadata; keep it dynamic and machine-actionable.
- FAIR: improve interoperability of unstructured data; consider MCP for agent-to-agent access.
- Quality: build verification into AI systems; increase lineage and traceability.
- Volume & Diversity: ensure sufficient volume and diversity to avoid bias (sampling, historical, label, temporal).
- Compliance: adhere to GDPR, the EU AI Act, internal policies, and ethical standards.
- Approach: implement as a data product using a Medallion architecture; focus on governance and data/AI literacy.
Apertus supports AI-ready data pipelines through its open model, training code, and compliance tools, enabling a reproducible cycle from ingestion to fine-tuning.
Document with a README
A well-documented dataset is easier to use and more impactful. Visit the @swiss-ai organization that hosts the Apertus project for example datasets.
Include the following sections in your README.md:
- Dataset Name — a clear, descriptive title.
- Description — what the dataset contains, how it was created, and its purpose.
- License — specify the license; we recommend data licenses.
- Citation — how users should cite your dataset; see CESSDA.
- Usage — example code or instructions for loading the dataset.
- Metadata — file structure, column descriptions, and data types.
Examples README template
# [Dataset Name]
**Description**:
[Briefly describe the dataset, its purpose, and potential use cases.]
**License**:
[Specify the license, e.g., MIT License.]
**Citation**:
[Provide a citation format, e.g., APA or BibTeX.]
**Usage**:
[Code snippet or any usage notes.]
**Metadata**:
| File | Description | Size |
| ------------- | --------------------- | ---- |
| data.csv | Main dataset file | 10MB |
| metadata.json | Additional metadata | 1MB |
**Contact**:
[Your email or a link to a support channel.]3. Publishing on Hugging Face
Create a New Repository
- Log in to your Hugging Face account.
- Navigate to your personal account or organization.
- Click “New Dataset” and select “Create Dataset”.
Upload Your Dataset
- Drag and drop your dataset files into the repository.
- Upload your
README.mdand any additional documentation. - Use the Hugging Face Dataset Viewer to preview your dataset.
Add Metadata
- Fill in the dataset card with a description, tags, and license.
- Specify the dataset structure (e.g., train/validation/test splits).
- Add example code for loading the dataset.
Publish
- Click “Publish” to make your dataset publicly available.
- Share the link with your network and the Apertus community!
4. Alternative Platforms
You can also publish your dataset on other platforms:
- Zenodo: Ideal for long-term archiving and DOI assignment.
- Kaggle: Great for competitions and collaborative projects.
- DataHub: Open data platform with versioning.
- GitHub: For smaller datasets or with Git LFS.
Once you publish, let us know! If we use your results in a release, we will cite and link to your dataset from the relevant Apertus publications.
5. Sharing is Caring
There are many ways to announce your dataset, from metadata portals, to blogs and social media. The ideal format for open research is a formal publication or pre-print. You can also propose developing on it at a hackathon.
If your dataset is AI-Ready, it should be possible to apply fine-tuning techniques, optimizing the ability of LLMs to “speak the language”, distinguish concepts or languages contained in it. See our guide for some more detail.
Please use the contacts on our website to share a link with our community.
Thank you for contributing to open science with Apertus! 🚀
References
- Apertus data transparency (GitHub)
- AI-Ready Data Whitepaper (Swiss Data Alliance)
- Research Data Management (The Turing Way)
- CESSDA Data Citation Guide
- Llama-Ready Data Guide (2025)
- A survey on dataset quality in ML (Gong et al. 2023)