Skip to content

C403 Lab: Choose and Access a Dataset for a Stated Purpose

This lab takes one purpose from a sentence to a recorded decision about which dataset to use and on what terms. It uses the Hugging Face Hub’s public API and its Python client, huggingface_hub, because most 2025–2026 egocentric releases are hosted there. Datasets outside Hugging Face, such as Ego4D, are covered in step 6.

Every command below is copied from the Hugging Face documentation or follows the documented form of the huggingface_hub client, and each was run on the example datasets on 2026-11-08; the source is linked at each step. Square brackets mark values you fill in. The outputs shown are what the API returned on that date: terms change, so run the commands yourself before you rely on them.

Work through Lessons 1 to 4 first, and keep the checklist next to you. Nothing in this lab is legal advice: it collects what the terms say, so that you, or counsel, can decide.

Write one paragraph that answers four questions. Every later step checks a dataset against it.

  1. Use. Research only, or will the model, its outputs or the data end up in a product? Will you redistribute the data or a converted copy?
  2. Labels. What must the data carry: video only, camera poses, 3D hand keypoints, body pose, language, actions?
  3. Capture. How close must it be to your own rig: stereo or more on the head, wrist views, a handheld gripper?
  4. Budget. How much storage and download time can you spend, and do you need it this week (a manual review can take days)?

The worked example in this lab: a commercial model that predicts 3D hand trajectories from head-worn video, in homes and workplaces; we will not redistribute the data.

Start from the Pick by task table and the section page it points to, and copy each candidate’s data licence and access from the licences table. For the example, the robot-learning and gripper rows give a shortlist of five Hugging Face repositories, each of which the field guide describes:

Candidate Why it is on the list
genrobot2025/Gen-HumanEgo Multi-camera head rig, 3D hand keypoints and MANO parameters per hand
builddotai/Egocentric-10K Large factory corpus (hours are a card claim), monocular, no hand labels
simple-world-lab/HiFi-UMI-2K Head stereo plus wrist views, both hands in one world frame, glove-like grippers
projectaria/Nymeria Head and wrist Aria devices, full-body motion
IPEC-COMMUNITY/FastUMI_100k_lerobot Handheld-gripper trajectories in LeRobot format

EgoDex would fit the labels, but it is downloaded from Apple’s repository, not Hugging Face, and its CC BY-NC-ND terms rule out commercial training (Egocentric Datasets for Robot Learning).

Step 3: Read the licence tag and the gate through the API

Section titled “Step 3: Read the licence tag and the gate through the API”

Install the client, as the hf CLI guide gives it:

Terminal window
pip install -U "huggingface_hub"

HfApi.dataset_info calls the Hub’s /api/datasets/{repo_id} endpoint. Its expand argument limits the reply to the properties you list, among them "gated", "cardData" and "tags" (the dataset_info docstring). Save this as check_licence.py:

import sys
from huggingface_hub import HfApi
api = HfApi()
for repo_id in sys.argv[1:]:
info = api.dataset_info(repo_id, expand=["gated", "cardData", "tags"])
card = info.card_data.to_dict() if info.card_data else {}
print(repo_id)
print(" gated: ", info.gated)
print(" license: ", card.get("license"))
print(" license_name: ", card.get("license_name"))
print(" license_link: ", card.get("license_link"))
print(" gate fields: ", list((card.get("extra_gated_fields") or {}).keys()))

Run it on the shortlist. No account is needed:

Terminal window
python check_licence.py genrobot2025/Gen-HumanEgo builddotai/Egocentric-10K \
simple-world-lab/HiFi-UMI-2K projectaria/Nymeria IPEC-COMMUNITY/FastUMI_100k_lerobot

The same reply is available without Python, for example curl -s "https://huggingface.co/api/datasets/projectaria/Nymeria?expand=gated&expand=cardData".

You should see, for the example on 2026-11-08:

Repository gated license Gate form fields
Gen-HumanEgo auto cc-by-sa-4.0 organisation, intended use, a description of intended use
Egocentric-10K auto apache-2.0 first and last name, affiliation, email, phone number, country
HiFi-UMI-2K False cc-by-4.0 none
Nymeria False cc-by-nc-4.0 none
FastUMI 100K False none none

gated is False, "auto" or "manual", as the client’s DatasetInfo documents it. Nymeria leaves the shortlist here: CC BY-NC forbids use primarily intended for commercial advantage, however open the download.

If it fails: a RepositoryNotFoundError means a wrong repo_id or a private repository. A license of other or none is not an answer: go to step 4.

The tag is not the whole licence (Lesson 4). Download each card and search it. hf_hub_download with repo_type="dataset" is the form the Hub’s downloading guide uses; the cards of the example gated repositories downloaded without a token. Save as read_card.py:

import sys
from huggingface_hub import hf_hub_download
path = hf_hub_download(sys.argv[1], "README.md", repo_type="dataset")
for n, line in enumerate(open(path, encoding="utf-8"), 1):
if any(w in line.lower() for w in ("licen", "commercial", "consent", "hours", "mano", "smpl")):
print(n, line.rstrip())
Terminal window
python read_card.py IPEC-COMMUNITY/FastUMI_100k_lerobot
python read_card.py genrobot2025/Gen-HumanEgo

You should see FastUMI’s README state that the dataset is released under the Apache-2.0 License, although its metadata carries no tag; and Gen-HumanEgo’s card list “3D hand keypoints, MANO parameters, and full hand geometry” among its labels.

Write down the exact licence sentence and its line, the consent statement if there is one, and every hour figure, marked as the card’s claim.

Step 5: Separate the licences on each release

Section titled “Step 5: Separate the licences on each release”

For each remaining candidate, fill in four lines (Lesson 4):

  • Data licence: from the card or the licence page (steps 3 and 4).
  • Paper licence: from the arXiv or journal page. It covers the paper only; note it so nobody confuses the two.
  • Code licence: from the repository of the loaders. It does not cover the data.
  • Body-model licence: if any labels are MANO, SMPL or SMPL-X parameters, the model’s own licence applies, and MANO’s is non-commercial (Body-model licences).

For the example, Gen-HumanEgo’s data licence (CC BY-SA 4.0) allows commercial use and asks that adapted versions you distribute stay CC BY-SA, but its MANO parameters bring in the MANO licence. Which label fields you may use is a question for counsel, written down as such. Egocentric-10K allows commercial training under Apache-2.0 but carries no hand labels, so it fits a pretraining stage, not the label requirement.

Which licence covers what, and gate versus licence Two panels about dataset licences. Panel 1, one release, several licences: five layers of a dataset release, each with its rule and an example. The paper, on arXiv or in a journal, covers its text and figures only (Ego-1K's paper is CC BY 4.0). The code, loaders and tools on GitHub, covers the code only (the Ego4D repository is MIT). The data files, video, sensor streams and annotations, govern training (Ego-1K's data is under the FAIR Noncommercial Research License). Body-model labels, MANO, SMPL or SMPL-X parameters, add the body model's own licence (HOT3D's hand annotation files are CC BY-NC-SA). Merged corpora built from other datasets keep each part's licence (OpenEgo has six sources with six licences). A bracket groups the last three: check all three before commercial training; the Hugging Face tag can be missing or say 'other'. Panel 2, how you download is not what you may do: a two-by-two grid of access route against whether commercial training is allowed. Open download and commercial training allowed: HiFi-UMI-2K (CC BY 4.0), Gen-EgoData (CC BY-SA 4.0), FastUMI 100K (Apache-2.0), UMI-FT (MIT). Open download but non-commercial: Ego-1K (FAIR Noncommercial), Nymeria (CC BY-NC 4.0), EgoDex (CC BY-NC-ND), and the Aria Everyday Activities and Aria Digital Twin agreements. Form, review or agreement and commercial training allowed: Egocentric-10K and 100K (Apache-2.0), Gen-HumanEgo (CC BY-SA 4.0), Lightwheel's EgoStandard and EgoPro (by the licence name commercial-training-no-resale), the Mundo AI sample (CC BY 4.0). Form, review or agreement and non-commercial: Xperience-10M (manual review plus a DocuSign agreement). A note: Ego4D and Ego-Exo4D use signed agreements that, as quoted on the page, cover research and commercial use with restrictions; read the agreement itself. Licences as stated on each card, read 2026-11-07. Dataset licences: which file, and which gate Examples from the cards and agreements on this page. 1. One release, several licences Paper arXiv or journal article covers the text and figures only Ego-1K paper: CC BY 4.0 Code loaders and tools on GitHub covers the code only Ego4D repository: MIT Data files video, sensor streams, annotations governs training Ego-1K data: FAIR Noncommercial Body-model labels MANO, SMPL, SMPL-X parameters add the model's own licence HOT3D hand files: CC BY-NC-SA Merged parts a corpus built from other datasets each part keeps its licence OpenEgo: six sources, six licences Check all three before commercial training. The Hugging Face tag can be missing or 'other'. 2. How you download is not what you may do Commercial training allowed Not allowed (non-commercial) Open download no form Form, review or agreement HiFi-UMI-2K (CC BY 4.0) Gen-EgoData (CC BY-SA 4.0) FastUMI 100K (Apache-2.0) UMI-FT (MIT) Ego-1K (FAIR Noncommercial) Nymeria (CC BY-NC 4.0) EgoDex (CC BY-NC-ND) Aria AEA, ADT (agreements) Egocentric-10K/100K (Apache-2.0) Gen-HumanEgo (CC BY-SA 4.0) Lightwheel (licence name) Mundo AI sample (CC BY 4.0) Xperience-10M (manual review + DocuSign) Ego4D and Ego-Exo4D: signed agreements that, as quoted on this page, cover research and commercial use with restrictions; read the agreement itself. Licences as stated on each card, read 2026-11-07.
Top: the parts of one dataset release and which licence governs each, with an example from this page. A paper's licence covers the paper (Ego-1K's is CC BY 4.0) and a repository's covers its code (Ego4D's is MIT); training is governed by the data licence (Ego-1K: FAIR Noncommercial), plus the body model's licence for MANO, SMPL or SMPL-X labels (HOT3D's hand files are CC BY-NC-SA) and each source's licence in a merged corpus (OpenEgo). Bottom: the access route and the licence are independent. Some datasets download with no form yet forbid commercial training (Ego-1K, Nymeria, EgoDex, the Aria agreements), while others ask for a form or review and allow it (Egocentric-10K/100K, Gen-HumanEgo, Lightwheel by its licence name, the Mundo AI sample). Licences as stated on each card or agreement, read 2026-11-07; not legal advice.

Requesting access to a gated Hugging Face dataset “can only be done from your browser” (Gated datasets). Open the dataset page while logged in, fill the form completely, and submit. With gated: auto access is granted at once; with gated: manual the maintainers decide, which can take days.

To download a gated dataset from a script, log in once, as the same page shows:

Terminal window
hf auth login

Then check that your token has access before a long job. HfApi.auth_check raises GatedRepoError if the repository is gated and you are not authorised (its docstring):

from huggingface_hub import HfApi
from huggingface_hub.errors import GatedRepoError
try:
HfApi().auth_check("[REPO_ID]", repo_type="dataset")
print("access OK")
except GatedRepoError:
print("no access yet") # request it in the browser

You should see, without logging in, no access yet for builddotai/Egocentric-10K and access OK for simple-world-lab/HiFi-UMI-2K.

Outside Hugging Face: Ego4D and Ego-Exo4D each need their own signed agreement, then about 48 hours for AWS credentials, then the ego4d or egoexo CLI (Landmark Datasets, getting the data). The Ego4D docs note that “once approved your access credentials will expire in 14 days” (Ego4D: Start Here), so plan the download before you request it.

The Hub’s OpenAPI reference documents GET /api/datasets/{namespace}/{repo}/treesize/{rev}/{path}, which returns the total size in bytes of a repository at a revision:

Terminal window
curl -s https://huggingface.co/api/datasets/[NAMESPACE]/[REPO]/treesize/main

You should see, for genrobot2025/Gen-EgoData, {"path":"/","size":47636792863}, about 47.6 GB, which matches the 47.6 GB the field guide gives for that sample.

For a file-by-file list, the hf CLI guide documents a dry run that downloads nothing:

Terminal window
hf download [REPO_ID] --repo-type dataset --dry-run

You should see a line such as [dry-run] Will download 502 files (out of 502) totalling 47.6G., followed by each file and its size. Compare the total with the card’s stated size; a repository that holds two formats of the same episodes is about twice one copy (Lesson 3).

Step 8: Download a sample and count it yourself

Section titled “Step 8: Download a sample and count it yourself”

Download only a slice first, with the --include patterns the CLI guide documents, and with --dry-run again until the slice is the size you want:

Terminal window
hf download [REPO_ID] --repo-type dataset --include "[PATTERN]" --local-dir [FOLDER]

Then count what you have, instead of trusting the headline (Lesson 3). For a LeRobot dataset, meta/info.json holds total_episodes, total_frames and fps (lerobot dataset_metadata.py). Save as count.py:

import json, sys
from huggingface_hub import hf_hub_download
info = json.load(open(hf_hub_download(sys.argv[1], "meta/info.json", repo_type="dataset")))
print("codebase_version:", info.get("codebase_version"))
print("episodes:", info["total_episodes"], "frames:", info["total_frames"], "fps:", info["fps"])
print("recorded hours:", round(info["total_frames"] / info["fps"] / 3600, 1))
Terminal window
python count.py lerobot/umi_cup_in_the_wild

You should see codebase_version: v3.0, episodes: 1447 frames: 699432 fps: 10 and recorded hours: 19.4, matching the counts on Open Handheld-Gripper Datasets. For MCAP or WebDataset releases, count from the per-file metadata the card documents.

Then open a few episodes and look: are the labels you need present and plausible, do confidence or validity fields exist, and does the camera view resemble your rig (Lesson 2)?

Fill in the sign-off section of the checklist for each dataset you keep, and keep it with your training configuration:

  • repository and revision (commit) you downloaded. A Hub repository is a Git repository, and its files, card and licence text can change after you check them; some releases sit in mutable storage, where the current file listing, not a fixed version, defines what is published (Lesson 3). The commit hash fixes exactly which version your decision covers;
  • data licence as stated, with the exact sentence, plus paper, code and body-model licences;
  • gate type, the date access was granted, and any agreement you signed;
  • the card’s hour claim and your own count;
  • what the decision rests on, and anything left for counsel.

The prompts page has a prompt that drafts this record from your notes.