activitynet / README.md
Lax3n's picture
Upload folder using huggingface_hub
be5665b verified
|
Raw History Blame Contribute Delete
3.89 kB
metadata
license: other
license_name: academic-source-terms
license_link: https://activity-net.org/
task_categories:
  - video-classification
  - text-to-video
  - video-text-to-text
language:
  - en
tags:
  - video
  - youtube
  - tornadolabs
pretty_name: ActivityNet v1.3
configs:
  - config_name: videos
    default: true
    data_files: metadata.jsonl
  - config_name: annotations
    data_files: captions.parquet

ActivityNet v1.3

19,994 source IDs with their source links and availability. 15,941 videos (391.3 GB) with 1,550 subtitle files, downloaded at source quality and hosted for direct download.

Coverage: 15,941 of the 19,994 source video IDs (79.7%). 4,053 source videos were unavailable at fetch time (private, removed, members-only or geo-blocked) and are listed without a file.

Public release: capped at 1 TB (1,000,000,000,000 bytes), including media and indexes. This release retains 15,941 of the 15,941 previously hosted source videos. See selection.json for the selection method and byte counts. This is a selected subset, not the full upstream corpus.

What's inside

  • metadata.jsonl — 19,994 rows, one per prepared source ID: video_id, youtube_url, availability, in_prepared_selection, video_url (direct HTTPS download, CDN-backed; empty when the video is not hosted), subtitle_url, size_bytes, last_attempt_at
  • 15,941 of these videos (391.3 GB) are hosted on Hugging Face storage; the other rows keep their source link only
  • captions.parquet — 23,064 academic annotations (source: annotations.csv)

Quick start

from datasets import load_dataset

# videos (default config): one row per source ID; video_url is set for hosted videos only
ds = load_dataset("TornadoLabs/activitynet", "videos", split="train")
print(ds[0])

# keep the hosted videos, then download one
import requests
hosted = ds.filter(lambda r: r["video_url"] is not None)
r = requests.get(hosted[0]["video_url"])
open(f"{hosted[0]['video_id']}.mp4", "wb").write(r.content)


# annotations for all listed source videos
ann = load_dataset("TornadoLabs/activitynet", "annotations", split="train")

How this dataset was built

Every video was fetched through the Tornado API pipeline and delivered into Hugging Face storage via its S3-compatible gateway — the exact workflow documented here.

Of the original ID list, only videos still publicly available on YouTube are included (dead/private videos are listed without a file).

Provenance & citation

  • Original dataset: http://activity-net.org/
  • Paper: Caba Heilbron et al., CVPR 2015 — ActivityNet: A Large-Scale Video Benchmark for Human Activity Understanding
  • 19,994 vidéos, 200 classes d'activités, annotations temporelles segment-niveau.

The video files remain the property of their respective YouTube uploaders. The annotations belong to the original dataset authors — cite their paper if you use them. This re-hosting is provided for reproducible research; if you are a rights holder and want content removed, open a discussion on this repo.

Request a larger or custom delivery

For larger volumes, different source IDs or a custom selection, request a delivery quote from Tornado API. Deliverable coverage depends on source availability and applicable rights. This is not a guarantee of the complete original corpus or a grant of commercial rights to the source videos. The upstream terms continue to apply.


Tornado API
Collected and delivered with Tornado API