knowvis / README.md
Lax3n's picture
Upload folder using huggingface_hub
19ad6be verified
|
Raw History Blame Contribute Delete
4.17 kB
---
license: other
license_name: academic-source-terms
license_link: https://huggingface.co/datasets/yixu-cityu/KnowVis
task_categories:
- video-classification
- text-to-video
- video-text-to-text
tags:
- video
- youtube
- tornadolabs
pretty_name: "KnowVis — YouTube source videos"
configs:
- config_name: videos
default: true
data_files: metadata.jsonl
---
# KnowVis — YouTube source videos
**125 source IDs** with their source links and availability.
**48 videos** (1.9 GB) with 48 subtitle files, downloaded at source
quality and hosted for direct download.
> **Coverage (2026-11-17):** 48 complete YouTube source videos are hosted here. They come from a prepared selection of 125 YouTube IDs read from [`yixu-cityu/KnowVis`](https://huggingface.co/datasets/yixu-cityu/KnowVis) (revision `3eb0387bddfc`); the selection stopped because all matching upstream metadata files were read.
> Of the prepared IDs: 48 hosted, 0 unavailable at download time, 0 failed downloads, 0 not added because of the 6 GB cap, 0 in progress and 77 not attempted.
> The `videos` configuration lists **every prepared ID**, hosted or not: `video_url` is filled only for the 48 hosted videos, and `availability` gives the state of each row when this card was generated. The annotations cover all listed IDs.
> **Public release:** capped at 6 GB (6,000,000,000 bytes), including media and indexes.
> **Unit:** complete YouTube source videos. Upstream clip intervals, where present, remain in the annotations; the videos have not been cut to those intervals. The index lists every prepared ID; only part of them is hosted.
> **Annotations:** the upstream metadata is not redistributed here; join it by `video_id` from [`yixu-cityu/KnowVis`](https://huggingface.co/datasets/yixu-cityu/KnowVis) (revision `3eb0387bddfc`).
## What's inside
- **`metadata.jsonl`** — 125 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`
- 48 of these videos (1.9 GB) are hosted on Hugging Face storage; the other rows keep their source link only
## Quick start
```python
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/knowvis", "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)
```
## How this dataset was built
Each hosted file is the complete YouTube source video (best available quality), downloaded from YouTube into a temporary location, measured, then copied into the public storage only while the release stayed under 6 GB. Clip intervals from the upstream annotations are not applied to the files. Videos that were unavailable, failed or did not fit are counted in the coverage note above.
## Provenance & citation
- Original dataset: https://huggingface.co/datasets/yixu-cityu/KnowVis
- Paper: See the upstream dataset card
- No explicit license is declared upstream for the annotations; rights to the third-party videos are separate.
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.
## Terms and removal
This is a non-commercial research mirror of [`yixu-cityu/KnowVis`](https://huggingface.co/datasets/yixu-cityu/KnowVis) (revision `3eb0387bddfc`). The upstream repository declares no license: nothing here grants rights that the upstream authors did not grant. All credit goes to the upstream authors; cite them, not this repository. No rights to the source videos are granted. Upstream authors and rights holders can ask for removal by opening a discussion on this repository; requests are applied without conditions.