Datasets:
Upload folder using huggingface_hub
Browse files- README.md +14 -12
- captions.parquet +2 -2
- metadata.jsonl +0 -0
README.md
CHANGED
|
@@ -23,10 +23,11 @@ configs:
|
|
| 23 |
|
| 24 |
# ActivityNet v1.3
|
| 25 |
|
|
|
|
| 26 |
**15,941 videos** (391.3 GB) with 1,550 subtitle files, downloaded at source
|
| 27 |
quality and hosted for direct download.
|
| 28 |
|
| 29 |
-
> **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
|
| 30 |
|
| 31 |
|
| 32 |
> **Public release:** capped at 1 TB (1,000,000,000,000 bytes), including media and indexes.
|
|
@@ -34,38 +35,39 @@ quality and hosted for direct download.
|
|
| 34 |
|
| 35 |
## What's inside
|
| 36 |
|
| 37 |
-
- **`metadata.jsonl`** —
|
| 38 |
-
-
|
| 39 |
-
- **`captions.parquet`** —
|
| 40 |
|
| 41 |
## Quick start
|
| 42 |
|
| 43 |
```python
|
| 44 |
from datasets import load_dataset
|
| 45 |
|
| 46 |
-
# videos (default config): one row per
|
| 47 |
ds = load_dataset("TornadoLabs/activitynet", "videos", split="train")
|
| 48 |
print(ds[0])
|
| 49 |
|
| 50 |
-
# download one
|
| 51 |
import requests
|
| 52 |
-
|
| 53 |
-
|
|
|
|
| 54 |
|
| 55 |
|
| 56 |
-
# annotations for
|
| 57 |
ann = load_dataset("TornadoLabs/activitynet", "annotations", split="train")
|
| 58 |
|
| 59 |
```
|
| 60 |
|
| 61 |
## How this dataset was built
|
| 62 |
|
| 63 |
-
Every video was fetched through the [Tornado API](https://tornadoapi.io?ref=hf-activitynet-how)
|
| 64 |
-
pipeline and delivered
|
| 65 |
gateway — the exact workflow documented [here](https://docs.tornadoapi.io?ref=hf-activitynet-docs).
|
| 66 |
|
| 67 |
Of the original ID list, only videos still publicly available on YouTube are
|
| 68 |
-
included (dead/private videos are listed
|
| 69 |
|
| 70 |
## Provenance & citation
|
| 71 |
|
|
|
|
| 23 |
|
| 24 |
# ActivityNet v1.3
|
| 25 |
|
| 26 |
+
**19,994 source IDs** with their source links and availability.
|
| 27 |
**15,941 videos** (391.3 GB) with 1,550 subtitle files, downloaded at source
|
| 28 |
quality and hosted for direct download.
|
| 29 |
|
| 30 |
+
> **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.
|
| 31 |
|
| 32 |
|
| 33 |
> **Public release:** capped at 1 TB (1,000,000,000,000 bytes), including media and indexes.
|
|
|
|
| 35 |
|
| 36 |
## What's inside
|
| 37 |
|
| 38 |
+
- **`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`
|
| 39 |
+
- 15,941 of these videos (391.3 GB) are hosted on Hugging Face storage; the other rows keep their source link only
|
| 40 |
+
- **`captions.parquet`** — 23,064 academic annotations (source: `annotations.csv`)
|
| 41 |
|
| 42 |
## Quick start
|
| 43 |
|
| 44 |
```python
|
| 45 |
from datasets import load_dataset
|
| 46 |
|
| 47 |
+
# videos (default config): one row per source ID; video_url is set for hosted videos only
|
| 48 |
ds = load_dataset("TornadoLabs/activitynet", "videos", split="train")
|
| 49 |
print(ds[0])
|
| 50 |
|
| 51 |
+
# keep the hosted videos, then download one
|
| 52 |
import requests
|
| 53 |
+
hosted = ds.filter(lambda r: r["video_url"] is not None)
|
| 54 |
+
r = requests.get(hosted[0]["video_url"])
|
| 55 |
+
open(f"{hosted[0]['video_id']}.mp4", "wb").write(r.content)
|
| 56 |
|
| 57 |
|
| 58 |
+
# annotations for all listed source videos
|
| 59 |
ann = load_dataset("TornadoLabs/activitynet", "annotations", split="train")
|
| 60 |
|
| 61 |
```
|
| 62 |
|
| 63 |
## How this dataset was built
|
| 64 |
|
| 65 |
+
Every video was fetched through the [Tornado API](https://tornadoapi.io?ref=hf-activitynet-how)
|
| 66 |
+
pipeline and delivered into Hugging Face storage via its S3-compatible
|
| 67 |
gateway — the exact workflow documented [here](https://docs.tornadoapi.io?ref=hf-activitynet-docs).
|
| 68 |
|
| 69 |
Of the original ID list, only videos still publicly available on YouTube are
|
| 70 |
+
included (dead/private videos are listed without a file).
|
| 71 |
|
| 72 |
## Provenance & citation
|
| 73 |
|
captions.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2a231e9b6bdc103c46de1449cf5be0332910d3e4700ab582f5b7ae4107e027c
|
| 3 |
+
size 1050182
|
metadata.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|