Fine-tuning is in private preview. Only invited accounts can use it; any other account gets
403 fine_tuning_unavailable.ds_ id, or a public Hugging Face dataset, named hf:owner/name.
Formats
LeRobot v2.1 and v3.0 datasets are read as they are. A v2.1 dataset is converted to v3.0 while the job prepares it, with LeRobot’s own converter; you do not convert it first.Robots
The robot is read from the dataset: itsrobot_type, the names of its state values, or, for the YAM, its shape and camera names.
The check names the robot it found. A robot a model does not train is listed among that model’s errors, with the robots it does.
Bimanual YAM
The YAM’s values are in this order:
A joint whose range passes the YAM’s own by more than 0.05 rad is accepted with a warning to check its units:
The YAM’s three views are the scene from above and each wrist (
observation.images.top, left and right, unless mapped from other cameras).
DreamZero needs 16:9 frames.
SO-101 and other arms
MolmoAct2 trains one SO-100/101 arm from one or two cameras, in any order. π0.5 trains any arm from a scene camera and up to two wrist cameras; an arm whose state is wider than 32 values cannot be trained.Dataset embodiments
In private preview, a dataset body can be registered withPOST /v1/embodiments:
201 with id (emb_ and 16 hex characters), the account-local name, the
validated embodiment_config and created_at (UTC, six fractional digits).
GET /v1/embodiments lists your bodies newest first; GET /v1/embodiments/<id> reads one.
Another account’s id is 404 not_found, just like an unknown one.
- Names use 1–64 lowercase letters, digits and dashes, and are unique within your account.
- State and action spans are
[start, end), tile from zero without a gap or overlap, and are at most 128 values wide each. Part and camera role names start with a lowercase letter, followed by lowercase letters, digits or underscores, at most 64 characters. - There are 1–16 camera roles, each naming a dataset feature. A body without
overheadneedshead_cameraset to one of its declared roles. - Optional
parts.stateandparts.actiondescribe declared spans:kindisarm,gripper,eef_xyz,eef_rot6,griporhead; optionalsideisleftorright. - Invalid registrations are
422 invalid_requestwith the offendingparam. A duplicate name is409 conflict. Each account can register at most 200 bodies; registrations are immutable, with no update or delete route. Register changes under a new name.
body.json contains the configuration itself (state, action, video, and optional tags),
not the registration wrapper. Creation validates it locally before sending a request.
To bind an upload, pass the account’s emb_ id as embodiment to POST /v1/datasets, or use
--embodiment in the CLI. The dataset retains that immutable reference. Before packing/uploading,
the CLI checks metadata against it; the API independently checks before creating an upload and
again before asking for a quote. State/action feature widths and declared video features must
match, paths must remain relative to the dataset, and fps must be 5, 10, 15 or 30. A bound v2.1
upload needs episodes.jsonl numbered from zero in file order. These are 422 invalid_dataset
refusals with the offending field; missing/foreign bodies are 404 not_found.
These checks validate metadata declarations only, not the uploaded archive or its video/table
contents. Legacy ready still means uploaded, not attested. Existing uploads retain their
previous behavior; hosted validation, when enabled, applies to newly created uploads.
Mapping
Each model trains on a fixed set of values and views: its state, its action, and a camera for each of its image slots. The check proposes a mapping from the dataset, and the job trains from it unless you send your own:stateandactionare lists of columns, joined in order. A column can be cut to some of its values:observation.state[0-5,13]takes values 0 to 5, then 13.camerasmaps each of the model’s image slots to one of the dataset’s cameras. A slot can be named in full (observation.images.top) or by its last part (top); so can a camera.- The mapped state must be as wide as the model needs, and every slot it requires must have a camera. A mapping that does not fit answers with the field to fix.
mapping to the check, the quote and the job, or with abstract finetune create --mapping mapping.json.
On Platform, Mapping lists the proposal; each column and camera is a list to change.
Auto-clean
Before training, each episode is judged from its data tables alone, and only the recording, never the demonstration: an awkward but genuine demonstration is kept. The rules are relative to each joint’s spread in the dataset (its 1st to 99th percentile), so they hold for radians, degrees and grippers alike.
Inside the episodes it keeps:
- Idle starts and ends are trimmed, keeping half a second before the first motion and after the last. A frame counts as motion when some joint moves more than 2% of its spread over the next half second.
- Faulty stretches are cut out: stale state readings (the state frozen for a third of a second while the command moves on), one-frame glitches (an out-and-back jump far larger than the joint’s usual step), and the frames around dropped frames.
- Videos are never re-encoded: only the frames the job trains on change.
"clean": false (--no-clean, or the switch on Platform) to train on every frame as recorded.
With Auto length, the job trains for the frames left after cleaning, so it may run fewer steps than quoted, and is charged for those only.
Upload a dataset
- Checks that the folder has
meta/,data/andvideos/, and thatmeta/info.jsonsayscodebase_versionv2.1orv3.0. With--embodiment, checks metadata against your registered body before packing. The job checks the archive contents. - Packs
meta/,data/andvideos/into an uncompressed tar, following symlinks and leaving out._*and.DS_Storefiles. - Hashes it, creates the dataset with the folder’s
meta/files, which a quote reads, then sends the archive in 8 MiB parts, each sent again for about two minutes when the network drops. - Prints the dataset’s
ds_id.
--name sets another.
--part-size sets the part size, from 5 to 64 MiB: smaller parts get through a connection that cuts long transfers, larger ones take fewer requests.
Platform’s Training page lists processed uploads and legacy ready uploads to pick from.
The archive waits in a temporary folder until the upload completes, and goes when the command ends.
An upload that fails is deleted from your account, since an unfinished one counts against your space; run the same command again to start it over.
A dataset uploaded by a CLI before quotes has no meta/ files on Abstract, so it cannot be quoted (409 dataset_meta_missing): upload it again.
Without the CLI
The upload is three calls. The archive is an uncompressed.tar of the dataset folder, with meta/, data/ and videos/ at its root or under one top folder.
It holds plain files and folders only; the job refuses links.
bytes (400 upload_incomplete otherwise).
Legacy completion keeps your declared sha256; it is not an archive attestation. With hosted
validation enabled, a private checker verifies the actual bytes as described below.
Hosted validation
Hosted archive validation is not enabled by default. When enabled for new uploads, creation requires an ownedembodiment and LeRobot v2.1 metadata. Uploads still use plain tar, not ZIP.
Completion queues the actual stored object for checking:
processed may be quoted or trained for an upload requiring validation. Until then, quote
and job creation return 409 dataset_not_processed, before a quote request or credit hold. The
checker verifies the archive’s size and SHA-256, actual metadata against the declared metadata,
Parquet vectors/columns/references, and every camera’s H.264/AV1 MP4 sample tables. It does not
decode pictures or establish that a model can train on your data; model compatibility and the
training service’s checks still apply. A local/client report cannot mark an upload processed.
Inspect the dataset, including validation.error on failure and validation.report on success:
Existing
ready uploads are not retrospectively attested and retain their old admission rules.
Upload again with your body to opt into the new checks. Disabling hosted checks does not
allow a new upload that requires validation to skip it.
Check archive contents locally
On Linux, the source CLI can check a LeRobot v2.1 folder, ZIP or plain tar against your body:uv, with no API key
passed to it and no model call or charge. It checks the actual Parquet vectors and required
columns, metadata/episode/task references, every camera file, and H.264/AV1 MP4 sample tables.
It never decodes video frames. A valid container is not a guarantee that its pictures decode or
that a model can train on the dataset.
Unsafe archive paths, tar links/special files, missing cameras, mismatched vector widths and
unsupported codecs fail the check. Jobs are bounded and run in a child process; parser crashes
and timeouts fail that dataset. Strict checks require Linux memory limits and fail closed on
macOS or other unsupported platforms. v3.0 metadata preflight remains available, but this
archive checker does not validate v3.0 contents yet.
A local result does not mark an uploaded dataset processed or replace server-side checks of
the uploaded bytes. The API still accepts tar uploads only; ZIP support here is for local checks.
Use a Hugging Face dataset
A public Hugging Face LeRobot dataset needs no upload:@ comes a branch, a tag or a commit; without one the job reads main.
The job pins the revision to its commit when it starts, so it trains on one fixed version; the job’s dataset.commit names it.
Abstract reads Hugging Face anonymously, so a private repository cannot be used.
Find one
GET /v1/fine_tuning/datasets/search?q=yam&limit=8 lists public LeRobot datasets on Hugging Face whose name holds q, most downloaded first.
Platform’s Training page searches with it as you type.
qis 2 to 100 letters, digits, spaces, dots, dashes, underscores or slashes (400 invalid_requestotherwise).limitis 1 to 20, 8 by default.- A dataset is listed when Hugging Face tags it
LeRobotorlerobot. A fullowner/nameis also looked up by itself and comes first, tagged or not; itslerobotsays whether it is tagged. - Abstract asks Hugging Face anonymously, so gated and private datasets never appear.
last_modifiedis in Unix seconds. - When Hugging Face does not answer, the route answers
503 fine_tuning_unavailable; name the dataset yourself.
Check it before a job
POST /v1/fine_tuning/datasets/check reads a Hugging Face dataset’s meta/ and data tables (no video) and says what a job on it would find, for every model, before anything is held.
It takes seconds and is free.
Platform’s Training page runs it when you name a dataset.
okistruewhen the dataset itself passes and at least one model trains it.errorsare the dataset’s own findings; each model’serrorssay why it does not train it.servedsays whether Abstract serves that model’s fine-tune of this robot;auto_stepsis Auto’s length before cleaning.mappingis the mapping proposed for each model. Send"mapping"with the request to check your own.cleanis auto-clean’s preview.commitis the commitrevision(ormain) names now; a job pins its own when it starts.
404 dataset_not_found.
An upload has no such check: its quote checks it for the model you choose.
Manage datasets
status is uploading, ready or failed (its upload completed at the wrong size; create it again). A job takes a ready one only (400 dataset_not_ready).
Deleting an unfinished upload abandons it; deleting a ready dataset removes the archive and its meta/ files.
A delete answers deleted, or deleting while storage has not yet removed the archive; Abstract retries that until it is gone, and you may send the delete again.
A deleted dataset leaves the list, and its id answers 404 dataset_not_found.
A job that already trained on it keeps its own copy in Abstract’s training storage, which deleting the dataset does not remove.
A dataset a live job uses cannot be deleted (409 dataset_in_use).