n24q02m commited on
Commit
3eae3be
·
verified ·
1 Parent(s): 322d8a1

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: unknown
3
+ language:
4
+ - vi
5
+ pretty_name: Vietnamese Music Dataset
6
+ size_categories:
7
+ - 1K<n<10K
8
+ tags:
9
+ - music
10
+ - audio
11
+ - youtube
12
+ - audiofolder
13
+ ---
14
+
15
+ # Vietnamese Music Dataset
16
+
17
+ A collection of **4,820 Vietnamese music tracks** with matching cover thumbnails and per-track metadata collected from YouTube, packaged as an [audiofolder](https://huggingface.co/docs/datasets/audiofolder) dataset.
18
+
19
+ ## Repository structure
20
+
21
+ | Path | Contents | Count |
22
+ |---|---|---|
23
+ | `audio/` | MP3 audio files, named by YouTube video ID | 4,820 |
24
+ | `images/` | PNG cover thumbnails, same IDs as `audio/` | 4,820 |
25
+ | `data/` | Parquet metadata files, one per collection session | 31 |
26
+
27
+ ## Metadata schema
28
+
29
+ Each Parquet file in `data/` has the following columns:
30
+
31
+ | Column | Type | Description |
32
+ |---|---|---|
33
+ | `id` | string | YouTube video ID (matches audio/image filenames) |
34
+ | `title` | string | Video/song title |
35
+ | `artist` | string | Channel or performer name |
36
+ | `duration` | int64 | Track duration in seconds |
37
+ | `view_count` | int64 | View count at collection time |
38
+ | `like_count` | int64 | Like count at collection time |
39
+ | `upload_date` | string | Original upload date (`YYYY-MM-DD`) |
40
+ | `description` | string | Video description text |
41
+ | `channel_id` | string | YouTube channel ID |
42
+ | `audio_url` | string | URL of the audio file |
43
+ | `image_url` | string | URL of the thumbnail |
44
+ | `subtitle` | string | Subtitle/caption text, `"None"` when absent |
45
+
46
+ > Note: `audio_url`/`image_url` values reference an `n24q02m/vietnamese-music-dataset` base path that does not host the files. Resolve files by `id` inside this repository instead.
47
+
48
+ ## Loading
49
+
50
+ ```python
51
+ from datasets import load_dataset
52
+
53
+ ds = load_dataset("Toan-Minh-Duong-Son/vietnamese-music-dataset", split="train")
54
+ ```
55
+
56
+ To load the metadata tables:
57
+
58
+ ```python
59
+ from huggingface_hub import snapshot_download
60
+ import pandas as pd
61
+ import glob
62
+
63
+ folder = snapshot_download("Toan-Minh-Duong-Son/vietnamese-music-dataset",
64
+ repo_type="dataset", allow_patterns="data/*")
65
+ df = pd.concat(pd.read_parquet(f) for f in sorted(glob.glob(folder + "/data/*.parquet")),
66
+ ignore_index=True).drop_duplicates(subset="id")
67
+ ```
68
+
69
+ ## Source & provenance
70
+
71
+ - `id` values are YouTube video IDs; `view_count`, `like_count`, `upload_date`, and `channel_id` indicate tracks and thumbnails were collected from YouTube.
72
+ - Parquet filenames date the collection between **2025-06-20 and 2025-07-05**, across 9 main sessions plus additional "extra" sessions.
73
+ - The 31 Parquet files contain ~6,000 rows **with duplicates** across overlapping sessions; the repository holds 4,820 unique tracks. Deduplicate by `id`.
74
+ - Uploaded by the `Toan-Minh-Duong-Son` organization. No formal provenance document is included in the repository.
75
+
76
+ ## License & usage restrictions
77
+
78
+ **No license has been specified** (`license: unknown`). The recordings, artwork, and metadata originate from third-party YouTube content and are likely protected by copyright. This dataset is made available for research purposes only; users are responsible for complying with applicable law and YouTube's Terms of Service. Do not use commercially.
79
+
80
+ ## Intended use & limitations
81
+
82
+ - Intended for music/audio ML research: classification, retrieval, recommendation.
83
+ - Audio quality and loudness vary between sources; loudness normalization is recommended.
84
+ - Metadata is incomplete for some tracks (e.g. `subtitle` = `"None"`); engagement counts are point-in-time snapshots.
85
+ - Session files overlap — always deduplicate by `id`.
86
+
87
+ ## Citation
88
+
89
+ ```bibtex
90
+ @misc{vietnamese_music_dataset_2025,
91
+ title = {Vietnamese Music Dataset},
92
+ author = {{Toan-Minh-Duong-Son}},
93
+ year = {2025},
94
+ howpublished = {\url{https://huggingface.co/datasets/Toan-Minh-Duong-Son/vietnamese-music-dataset}}
95
+ }
96
+ ```