Upload folder using huggingface_hub
Browse files- README.md +89 -0
- captions.parquet +3 -0
- metadata.jsonl +0 -0
README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: academic-source-terms
|
| 4 |
+
license_link: https://huggingface.co/datasets/nuhmanpk/freecodecamp-transcripts
|
| 5 |
+
task_categories:
|
| 6 |
+
- automatic-speech-recognition
|
| 7 |
+
- audio-classification
|
| 8 |
+
tags:
|
| 9 |
+
- audio
|
| 10 |
+
- speech
|
| 11 |
+
- youtube
|
| 12 |
+
- tornadolabs
|
| 13 |
+
pretty_name: "freecodecamp-transcripts — YouTube audio tracks"
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: audio
|
| 16 |
+
default: true
|
| 17 |
+
data_files: metadata.jsonl
|
| 18 |
+
- config_name: annotations
|
| 19 |
+
data_files: captions.parquet
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# freecodecamp-transcripts — YouTube audio tracks
|
| 23 |
+
|
| 24 |
+
**1,192 source IDs** with their source links and availability.
|
| 25 |
+
**12 audio recordings** (1.0 GB, M4A) with 12 subtitle files (YouTube transcripts), downloaded at source
|
| 26 |
+
quality and hosted for direct download.
|
| 27 |
+
|
| 28 |
+
> **Coverage (2026-11-17):** 12 complete YouTube audio tracks (M4A, with the YouTube subtitles) are hosted here. They come from a prepared selection of 1,192 YouTube IDs read from [`nuhmanpk/freecodecamp-transcripts`](https://huggingface.co/datasets/nuhmanpk/freecodecamp-transcripts) (revision `4efbfbb9125f`); the selection stopped because all matching upstream metadata files were read.
|
| 29 |
+
> Of the prepared IDs: 12 hosted, 0 unavailable at download time, 0 failed downloads, 3 not added because of the 2 GB cap, 0 in progress and 1,177 not attempted.
|
| 30 |
+
> The `audio` configuration lists **every prepared ID**, hosted or not: `audio_url` is filled only for the 12 hosted recordings, and `availability` gives the state of each row when this card was generated. The annotations cover all listed IDs.
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
> **Public release:** capped at 2 GB (2,000,000,000 bytes), including media and indexes.
|
| 34 |
+
> **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.
|
| 35 |
+
|
| 36 |
+
## What's inside
|
| 37 |
+
|
| 38 |
+
- **`metadata.jsonl`** — 1,192 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`
|
| 39 |
+
- 12 of these recordings (1.0 GB) are hosted on Hugging Face storage; the other rows keep their source link only
|
| 40 |
+
- **`captions.parquet`** — 1,192 academic annotations (source: `annotations.csv`)
|
| 41 |
+
|
| 42 |
+
## Quick start
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from datasets import load_dataset
|
| 46 |
+
|
| 47 |
+
# audio (default config): one row per source ID; audio_url is set for hosted recordings only
|
| 48 |
+
ds = load_dataset("TornadoLabs/freecodecamp-transcripts-audio", "audio", split="train")
|
| 49 |
+
print(ds[0])
|
| 50 |
+
|
| 51 |
+
# keep the hosted recordings, then download one
|
| 52 |
+
import requests
|
| 53 |
+
hosted = ds.filter(lambda r: r["audio_url"] is not None)
|
| 54 |
+
r = requests.get(hosted[0]["audio_url"])
|
| 55 |
+
open(f"{hosted[0]['video_id']}.m4a", "wb").write(r.content)
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
# annotations for all listed source recordings
|
| 59 |
+
ann = load_dataset("TornadoLabs/freecodecamp-transcripts-audio", "annotations", split="train")
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
## How this dataset was built
|
| 64 |
+
|
| 65 |
+
Each file is the complete audio track of the YouTube source video (best available quality), as an M4A file, fetched through the [Tornado API](https://tornadoapi.io?ref=hf-freecodecamp-transcripts-audio-how) 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 kept as annotations and are not applied to the files. Recordings that were unavailable, failed or did not fit are counted in the coverage note above.
|
| 66 |
+
|
| 67 |
+
## Provenance & citation
|
| 68 |
+
|
| 69 |
+
- Original dataset: https://huggingface.co/datasets/nuhmanpk/freecodecamp-transcripts
|
| 70 |
+
- Paper: See the upstream dataset card
|
| 71 |
+
- The upstream repository declares MIT for its annotations; rights to the third-party videos are separate.
|
| 72 |
+
|
| 73 |
+
The video files remain the property of their respective YouTube uploaders. The
|
| 74 |
+
annotations belong to the original dataset authors — cite their paper if you use
|
| 75 |
+
them. This re-hosting is provided for reproducible research; if you are a rights
|
| 76 |
+
holder and want content removed, open a discussion on this repo.
|
| 77 |
+
|
| 78 |
+
## Request a larger or custom delivery
|
| 79 |
+
|
| 80 |
+
This release is capped at 2 GB. Additional recordings from the prepared selection or from the complete upstream ID list can be collected on request: **[request a delivery quote from Tornado API](https://tornadoapi.io?ref=hf-freecodecamp-transcripts-audio-cta)**.
|
| 81 |
+
What can be delivered depends on each recording's current availability on YouTube and on the applicable rights: recovery of every listed source is not guaranteed, and no commercial rights to the source recordings are granted. The upstream terms continue to apply.
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
<!-- tornado-logo -->
|
| 86 |
+
<p align="center">
|
| 87 |
+
<a href="https://tornadoapi.io?ref=hf-freecodecamp-transcripts-audio-logo"><img src="https://tornadoapi.io/logo.png" alt="Tornado API" width="96"></a><br>
|
| 88 |
+
Collected and delivered with <a href="https://tornadoapi.io?ref=hf-freecodecamp-transcripts-audio-logo">Tornado API</a>
|
| 89 |
+
</p>
|
captions.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2112d013e81a0e957332d865ce0e08be56336bee73fb390477ee22d312074cd2
|
| 3 |
+
size 61487495
|
metadata.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|