Upload folder using huggingface_hub
Browse files- README.md +75 -0
- metadata.jsonl +10 -0
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: academic-source-terms
|
| 4 |
+
license_link: https://huggingface.co/datasets/jan-hq/youtube_transcripts_raw
|
| 5 |
+
task_categories:
|
| 6 |
+
- automatic-speech-recognition
|
| 7 |
+
- audio-classification
|
| 8 |
+
tags:
|
| 9 |
+
- audio
|
| 10 |
+
- speech
|
| 11 |
+
- youtube
|
| 12 |
+
- tornadolabs
|
| 13 |
+
pretty_name: "youtube_transcripts_raw — YouTube audio tracks"
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: audio
|
| 16 |
+
default: true
|
| 17 |
+
data_files: metadata.jsonl
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# youtube_transcripts_raw — YouTube audio tracks
|
| 21 |
+
|
| 22 |
+
**10 source IDs** with their source links and availability.
|
| 23 |
+
**9 audio recordings** (0.5 GB, M4A) with 9 subtitle files (YouTube transcripts), downloaded at source
|
| 24 |
+
quality and hosted for direct download.
|
| 25 |
+
|
| 26 |
+
> **Coverage (2026-11-17):** 9 complete YouTube audio tracks (M4A, with the YouTube subtitles) are hosted here. They come from a prepared selection of 10 YouTube IDs read from [`jan-hq/youtube_transcripts_raw`](https://huggingface.co/datasets/jan-hq/youtube_transcripts_raw) (revision `e4bf1344de20`); the selection stopped because all matching upstream metadata files were read.
|
| 27 |
+
> Of the prepared IDs: 9 hosted, 1 unavailable at download time, 0 failed downloads, 0 not added because of the 2 GB cap, 0 in progress and 0 not attempted.
|
| 28 |
+
> The `audio` configuration lists **every prepared ID**, hosted or not: `audio_url` is filled only for the 9 hosted recordings, and `availability` gives the state of each row when this card was generated. The annotations cover all listed IDs.
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
> **Public release:** capped at 2 GB (2,000,000,000 bytes), including media and indexes.
|
| 32 |
+
> **Unit:** complete YouTube audio tracks (M4A, with the YouTube subtitles). Upstream clip intervals, where present, remain in the annotations; the recordings have not been cut to those intervals. The index lists every prepared ID; only part of them is hosted.
|
| 33 |
+
> **Annotations:** the upstream metadata is not redistributed here; join it by `video_id` from [`jan-hq/youtube_transcripts_raw`](https://huggingface.co/datasets/jan-hq/youtube_transcripts_raw) (revision `e4bf1344de20`).
|
| 34 |
+
|
| 35 |
+
## What's inside
|
| 36 |
+
|
| 37 |
+
- **`metadata.jsonl`** — 10 rows, one per prepared source ID: `video_id`, `youtube_url`, `availability`, `in_prepared_selection`, `audio_url` (direct HTTPS download, CDN-backed; empty when the recording is not hosted), `subtitle_url`, `size_bytes`, `last_attempt_at`
|
| 38 |
+
- 9 of these recordings (0.5 GB) are hosted on Hugging Face storage; the other rows keep their source link only
|
| 39 |
+
|
| 40 |
+
## Quick start
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
+
|
| 45 |
+
# audio (default config): one row per source ID; audio_url is set for hosted recordings only
|
| 46 |
+
ds = load_dataset("TornadoLabs/youtube-transcripts-raw-audio", "audio", split="train")
|
| 47 |
+
print(ds[0])
|
| 48 |
+
|
| 49 |
+
# keep the hosted recordings, then download one
|
| 50 |
+
import requests
|
| 51 |
+
hosted = ds.filter(lambda r: r["audio_url"] is not None)
|
| 52 |
+
r = requests.get(hosted[0]["audio_url"])
|
| 53 |
+
open(f"{hosted[0]['video_id']}.m4a", "wb").write(r.content)
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## How this dataset was built
|
| 59 |
+
|
| 60 |
+
Each hosted file is the complete audio track of the YouTube source video (best available quality), as an M4A file, downloaded from YouTube into a temporary location, measured, then copied into the public storage only while the release stayed under 2 GB. Clip intervals from the upstream annotations are not applied to the files. Recordings that were unavailable, failed or did not fit are counted in the coverage note above.
|
| 61 |
+
|
| 62 |
+
## Provenance & citation
|
| 63 |
+
|
| 64 |
+
- Original dataset: https://huggingface.co/datasets/jan-hq/youtube_transcripts_raw
|
| 65 |
+
- Paper: See the upstream dataset card
|
| 66 |
+
- No explicit license is declared upstream for the annotations; rights to the third-party videos are separate.
|
| 67 |
+
|
| 68 |
+
The video files remain the property of their respective YouTube uploaders. The
|
| 69 |
+
annotations belong to the original dataset authors — cite their paper if you use
|
| 70 |
+
them. This re-hosting is provided for reproducible research; if you are a rights
|
| 71 |
+
holder and want content removed, open a discussion on this repo.
|
| 72 |
+
|
| 73 |
+
## Terms and removal
|
| 74 |
+
|
| 75 |
+
This is a non-commercial research mirror of [`jan-hq/youtube_transcripts_raw`](https://huggingface.co/datasets/jan-hq/youtube_transcripts_raw) (revision `e4bf1344de20`). 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 recordings are granted. Upstream authors and rights holders can ask for removal by opening a discussion on this repository; requests are applied without conditions.
|
metadata.jsonl
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"video_id": "lXLBTBBil2U", "youtube_url": "https://www.youtube.com/watch?v=lXLBTBBil2U", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/lXLBTBBil2U.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/lXLBTBBil2U.m4a", "size_bytes": 54838269, "last_attempt_at": "2026-11-17T15:57:59+00:00"}
|
| 2 |
+
{"video_id": "8Pm2xEViNIo", "youtube_url": "https://www.youtube.com/watch?v=8Pm2xEViNIo", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/8Pm2xEViNIo.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/8Pm2xEViNIo.m4a", "size_bytes": 23282215, "last_attempt_at": "2026-11-17T15:57:51+00:00"}
|
| 3 |
+
{"video_id": "Ckz8XA2hW84", "youtube_url": "https://www.youtube.com/watch?v=Ckz8XA2hW84", "subtitle_url": null, "availability": "unavailable_at_source", "in_prepared_selection": true, "audio_url": null, "size_bytes": null, "last_attempt_at": "2026-11-17T15:57:41+00:00"}
|
| 4 |
+
{"video_id": "DiGB5uAYKAg", "youtube_url": "https://www.youtube.com/watch?v=DiGB5uAYKAg", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/DiGB5uAYKAg.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/DiGB5uAYKAg.m4a", "size_bytes": 75634802, "last_attempt_at": "2026-11-17T15:58:18+00:00"}
|
| 5 |
+
{"video_id": "MwiM_nPyx5Y", "youtube_url": "https://www.youtube.com/watch?v=MwiM_nPyx5Y", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/MwiM_nPyx5Y.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/MwiM_nPyx5Y.m4a", "size_bytes": 60965834, "last_attempt_at": "2026-11-17T15:57:53+00:00"}
|
| 6 |
+
{"video_id": "__Ewkal7s3g", "youtube_url": "https://www.youtube.com/watch?v=__Ewkal7s3g", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/__Ewkal7s3g.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/__Ewkal7s3g.m4a", "size_bytes": 19959298, "last_attempt_at": "2026-11-17T15:57:50+00:00"}
|
| 7 |
+
{"video_id": "Z2VBKerS63A", "youtube_url": "https://www.youtube.com/watch?v=Z2VBKerS63A", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/Z2VBKerS63A.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/Z2VBKerS63A.m4a", "size_bytes": 79703031, "last_attempt_at": "2026-11-17T15:57:53+00:00"}
|
| 8 |
+
{"video_id": "Pkj-BLHs6dE", "youtube_url": "https://www.youtube.com/watch?v=Pkj-BLHs6dE", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/Pkj-BLHs6dE.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/Pkj-BLHs6dE.m4a", "size_bytes": 27351556, "last_attempt_at": "2026-11-17T15:57:57+00:00"}
|
| 9 |
+
{"video_id": "cEg8cOx7UZk", "youtube_url": "https://www.youtube.com/watch?v=cEg8cOx7UZk", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/cEg8cOx7UZk.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/cEg8cOx7UZk.m4a", "size_bytes": 53767559, "last_attempt_at": "2026-11-17T15:58:01+00:00"}
|
| 10 |
+
{"video_id": "VhSGmVyKykg", "youtube_url": "https://www.youtube.com/watch?v=VhSGmVyKykg", "subtitle_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/VhSGmVyKykg.vtt", "availability": "published", "in_prepared_selection": true, "audio_url": "https://huggingface.co/buckets/TornadoLabs/staging/resolve/videos/youtube-transcripts-raw-audio/VhSGmVyKykg.m4a", "size_bytes": 77395742, "last_attempt_at": "2026-11-17T15:58:04+00:00"}
|