temperwork Blog Documentation
Guides

Datasets

A dataset is a named set of files of one kind: images, video, text or audio. Everything in temperwork reads and writes datasets: a pipeline runs on one and writes another, a training learns from them, and a judge grades one. You never type a folder or file path; you pick a dataset by its name.

Kinds of data

A dataset holds one kind of data, chosen when it is made:

KindFiles
imagesJPEG, PNG or WebP (an iPhone's HEIC photos are converted to JPEG as they upload)
videoMP4, MOV, M4V or WebM
textTXT, JSON, JSONL, CSV or Markdown
audioWAV, MP3, FLAC, M4A or OGG

Each file is checked by its contents as it arrives, not only by its name. The kind decides what can use the dataset: a step runs only on the kind its base model takes (an image model on images), and a judge grades only the kind it was made for.

Where datasets come from

  • Uploads. Upload dataset on the Datasets page asks for the kind, the dataset to add to (a new one, or one you uploaded before) and the files. A dataset you uploaded takes more files later (+ Add), and each file can be removed.

  • Runs. Every run writes its output to a dataset. You name it when you start the run; left empty, it is the input's name with -generated added, or the pipeline's name. The output records the run, pipeline and version that made it, and the dataset it was made from.

  • Copies. Copy to my datasets makes your own copy of a public dataset, or of one someone shared with you.

  • Your own bucket. In your own environment, Add from S3 adds a folder in your bucket as a dataset. temperwork keeps only its name, where it is and its file names; your browser lists and opens its files from your bucket.

One dataset, one set of settings

An output dataset holds what one version of a step or pipeline made. Running the same version into it again adds only the files that are missing. A run of another version into it is refused, so a dataset never mixes two versions' outputs. This is what lets a judge's score or a comparison speak for one version.

The Datasets page

Each dataset is a row with its first image, its size, Made by (the pipeline whose run wrote it, or the person who uploaded it) and Used by (the pipelines whose runs read or wrote it). A run's output sits under the dataset it was made from: open the input's ▸ to see it. Filter by All / Uploaded / Outputs, by pipeline, or search by name.

A dataset's page shows its files, 25 to a page. Click one to open it full size (a video or audio file in a player, a text file's start); ← and → step through them. Download all saves the dataset as one ZIP, made in your browser straight from storage.

Folders and sharing

New folder sorts datasets into folders, which nest. A folder changes only where a dataset is listed and who may use it: runs still name the dataset as before.

Share on a folder or dataset sets what your organization's other members may do, and adds people (by the email they sign in with) or other organizations:

LevelMay
can viewsee it, open, download and copy its files
can editalso add and delete files
can managealso delete, move, rename and share it
can't see it(members only) nothing: it isn't listed and runs can't read it

What a folder is shared with applies to everything in it, unless a dataset or folder inside sets its own. Your organization's owners and admins can manage everything. Datasets others share with you are under Shared with me; to run on one, copy it into your datasets first.

Public datasets

temperwork publishes some datasets for everyone, marked public: for now, question sets and answer keys for model evals. Anyone can view them; nobody can change them. Runs, judges and trainings don't use a public dataset directly: copy it into your datasets and use the copy.

With the API

POST /v1/datasets makes a dataset; POST /v1/datasets/<name>/files adds a file of up to 4 MB, and .../uploads gives a link to upload a larger one straight to storage. POST /v1/datasets/<name>/links gives download links. See Use the API and the API reference.

On this page