Datasets
This page shows how to turn training data into dataset versions, read a version from training code and check which experiments and models used it. There are three ways to bring data in: code, browser upload and the import center.
Dataset versions
Section titled “Dataset versions”A dataset is a set of files managed as versions. A new version builds on a parent version by adding or replacing files. A version is either Draft or Final, and only a final version can be the parent of another version.
Pick a dataset and a version in Start › Datasets to see the file count, size, what changed from the parent, the label distribution and the version lineage. You can see and read every dataset, including ones other people made. Only the person who made a dataset and administrators can change or delete it.
Read from code
Section titled “Read from code”import qgon
run = qgon.init(project="Sandbox", name="shapes-cnn")path = qgon.dataset("shapes", version="1.0.2", project="Datasets")print(path) # the version's files are under this folder as isqgon.dataset() returns the path of the folder that holds the version's files. If the version is mounted on the server, you get the read-only folder under /qgon-data right away. Otherwise it downloads a copy and returns that path.
Call it after qgon.init() and the experiment records which version it used, and the lineage graph comes from that record. To get the same data every time you rerun, always pass version.
The default project is Datasets. If the dataset is in another project, pass project or it will not be found. Copy Use in code on the dataset screen and the name, version and project are all filled in.
Create a new version
Section titled “Create a new version”| Way | Fits when |
|---|---|
qgon.publish_dataset() in a workspace |
The folder or preprocessing output is already in the workspace |
| Upload dataset in the browser | The folder or zip is on your PC |
| Hugging Face dataset in the import center | The dataset is on Hugging Face |
| Save as new version in Data Explorer | You want a subset picked from an existing version |
Upload from code
Section titled “Upload from code”import qgon
# First version: every file in the folderqgon.publish_dataset("shapes", "./shapes", version="1.0.0", project="Datasets")
# Next version: keeps the parent files and adds the files in ./changes or replaces files at the same pathsqgon.publish_dataset("shapes", "./changes", version="1.0.1", project="Datasets", parent_version="1.0.0", description="Add triangle images")publish_dataset() finalizes the uploaded version and returns its id. No argument deletes files from the parent version. To drop files, use Replace all in the browser upload or save a filter result in Data Explorer.
Upload from the browser
Section titled “Upload from the browser”This is the way to make a new version by uploading a folder or zip from your PC, without a workspace or terminal. If the upload breaks off, it picks up from what was already received.
- Press Upload dataset in Start › Datasets. To add to an existing version, press Upload new version on that version.
- Drag in one folder or zip, or pick it with Choose folder. You can move to other qgon screens while it uploads, but do not close this browser tab.
- Choose the target (a new dataset, or a new version of an existing dataset) and the label mode, then press Start check. For an existing dataset, also choose whether to Add to the parent or Replace all.
- Check the class distribution, samples and changes from the parent in the result. If there is even one error, you cannot go on to the next step.
- Enter the version name and description, and create it. Whether to turn on the Explorer index and auto mount is also chosen at this step.
With the label mode on Auto, it looks for annotations/coco.json (COCO), then the labels.csv closest to the top (columns file and label, optional split), then class-name folders (cats/1.jpg), and if none is found it uses no labels.
If you closed the tab, open it again, press Resume and pick the same folder or zip you picked at first. This is because the browser does not remember files. Only zip archives are unpacked.
An administrator decides who can upload and how much in Settings › Dataset uploads. A screen opened from outside the internal network can upload only when the external access level is Full access.
Import center
Section titled “Import center”The import center (Start › Imports) brings models, data and code from outside into the server. Choose what to import under New import.
| What to import | Where it goes |
|---|---|
| Hugging Face model | A published model. It shows up right away in the base model lists for test serving and LLM fine-tuning. |
| Hugging Face dataset | A new version of a dataset |
| Git repository (github.com, gitlab.com) | imports/<folder> under your home folder in one of your running workspaces |
| Upload files | Registers a model folder or zip from your PC as a published model |
- Enter the address. For Hugging Face,
org/nameor the page address. For Git, the repository address. Leave the revision (branch, tag or commit) empty to get the default branch. - Press Preview. It pins the revision to a commit and shows the files to download, the size, the license, free disk space and whether administrator approval is needed.
- Set the name and the files to download, then press Start. If a license confirmation is needed, tick it before starting.
- A notification arrives when it is done. Go straight to the model, dataset version or folder from Result on the details screen.
For a Hugging Face dataset you can pick configs and splits and download only part of it. For a dataset with very many files, put refs/convert/parquet in the revision to get the parquet version Hugging Face has prepared. After the download, it goes through the same checks as the browser upload and becomes a new version.
A Git repository is downloaded with only its last commit by default. Turn on Full history if you need all of it. The downloaded folder is a regular git repository, and New run from this folder on the details screen sends training from it right away.
For private repositories and gated models, put a token in Settings › My connections and pick it. A saved token is never shown again and is used only for your own imports. Adding, changing and deleting tokens works only from the internal network.
Administrator approval
Section titled “Administrator approval”Sometimes an import does not start downloading and stays in Awaiting approval. This happens when a member downloads more at once than the cap an administrator set, or when the license grade is set to need approval. The preview shows beforehand whether approval is needed. Only administrators approve or reject, from the Awaiting approval box at the top of the import list.
The license grade is set by reading the model card's license field together with the repository's LICENSE file. Models with a usage policy, and those marked research-only, non-commercial or unlabeled, need an "I have reviewed the license" tick before they start, and who ticked it is recorded. This grading exists to show warnings. It is not a legal judgment.
The server checks the downloaded files again (file list, size and hash) before registering them. Model files in pickle format are not opened or run. The server only reads the instructions inside them, and blocks the file if it sees a dangerous call.
If several workspaces and training jobs read the same data, mount that version. Once the server unpacks it, everyone reads it read-only under /qgon-data right away. Nobody has to download and unpack it per person or per job, and it does not use workspace disk.
- Pick a version in Start › Datasets and press Mount in the Dataset mount box.
- When the state changes to Mounted, the path appears. It keeps going if you leave the screen.
In code, plain qgon.dataset() gives you the mounted path. If you have to write a path directly, use the version id path /qgon-data/v/<version id>. The name path /qgon-data/by-name/<name>/<version> disappears when someone else mounts the same name and version, so use it only for a quick look. Keep in mind that reading a path directly does not record in the experiment which version was used.
A mounted folder is visible to every workspace and training job on the server, and no one can change the files in it. Copy it into your workspace if you need to edit it. Unmounting is up to the person who mounted it and administrators. The original dataset stays after unmounting, but a job that was reading the folder may fail. The server has a cap on total mount space, set by an administrator.
If the screen shows "An administrator has not turned on dataset mounts yet.", mounts are not available on this server. qgon.dataset() still works the same by downloading a copy.
Data Explorer
Section titled “Data Explorer”Data Explorer shows the images in a version directly on the server, without downloading them. Press Open Data Explorer on the dataset screen.

- Press Build index once per version, the first time. It reads thumbnails, labels, splits, resolution and brightness. The original files are not copied, and indexing continues if you leave the screen.
- Narrow down with the filters on the left: label, split (train, val, test), mean brightness, resolution, file size and path.
- Click a thumbnail to see a large preview, the path, sha256 and the label source on the right.
Labels come from labels.csv if there is one, and otherwise from the name of the folder holding each image. Splits come from train, val and test folder names in the path. If there is an annotations/coco.json, boxes, polygons and masks are drawn over the thumbnails.
Save as new version creates a new version with only the current filter result or the samples you selected among the thumbnails. It does not copy files. It points to the parent version's files, so it uses almost no space. The new version joins the lineage with the version you were viewing as its parent.
Press the compare button at the top to see how many samples were added, deleted, relabeled or modified between two versions, and click a number to show only those samples. Both versions need an index. To fix labels, send samples with Send to labeling tool, label them, and bring them back as a new version.
Lineage
Section titled “Lineage”

Lineage shows as a graph how dataset versions, experiments and models connect. There is nothing extra to record. It is drawn from the records experiments leave. Open it from a version on the dataset screen, a model's details or an experiment's details.
Upstream goes back from a model: the experiment that made it, the dataset version that experiment used, then the parent versions. It answers "what data was this model made from?". Downstream goes forward from a dataset version: the experiments that used it, the models they produced, then the experiments that used those models as input.
For the lines to connect, a run must have loaded the dataset with qgon.dataset() or picked it on the New run screen. If code reads a mounted folder or a file path directly, there is no record and the line breaks.
Lineage is collected from records, so the graph changes when run records change. Do not treat it as a fixed record for audits or regulatory evidence.
Read more
Section titled “Read more”- To send training that uses a dataset to the GPU: Your first run.
- To work with models that experiments saved: Models.
- If the terms are unfamiliar: Concepts.