JunhaoYu commited on
Commit
fcf0639
·
verified ·
1 Parent(s): 02a5e6c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -22
README.md CHANGED
@@ -1,22 +1,78 @@
1
- ---
2
- license: apache-2.0
3
- dataset_info:
4
- features:
5
- - name: text
6
- dtype: string
7
- - name: song_name
8
- dtype: string
9
- - name: artist_name
10
- dtype: string
11
- splits:
12
- - name: train
13
- num_bytes: 4563835
14
- num_examples: 1451
15
- download_size: 2464487
16
- dataset_size: 4563835
17
- configs:
18
- - config_name: default
19
- data_files:
20
- - split: train
21
- path: data/train-*
22
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ dataset_info:
4
+ features:
5
+ - name: text
6
+ dtype: string
7
+ - name: song_name
8
+ dtype: string
9
+ - name: artist_name
10
+ dtype: string
11
+ splits:
12
+ - name: train
13
+ num_bytes: 4563835
14
+ num_examples: 1451
15
+ download_size: 2464487
16
+ dataset_size: 4563835
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: data/train-*
22
+ task_categories:
23
+ - text-generation
24
+ - text2text-generation
25
+ language:
26
+ - en
27
+ tags:
28
+ - code
29
+ - music
30
+ pretty_name: RapLyric
31
+ size_categories:
32
+ - 1K<n<10K
33
+ ---
34
+
35
+ ---
36
+
37
+ # Dataset Card for RapLyrics
38
+
39
+ ## Dataset Description
40
+
41
+ ### Dataset Summary
42
+
43
+ The "RapLyrics" dataset contains ~1.4k lyrics from rap songs collected using the Genius API. The dataset includes metadata such as artist names, song titles, and lyrics. The lyrics were crawled and processed to ensure quality and consistency. This dataset is intended for research and development in natural language processing, music analysis, and related fields.
44
+
45
+ ### Data Cleaning
46
+
47
+ The dataset underwent several cleaning steps to ensure the quality of the lyrics:
48
+
49
+ 1. **Content Removal**:
50
+ - Removed content before the word "Lyrics".
51
+ - Removed names after tags like `[Intro]`, `[Verse]`, etc.
52
+ - Removed duplicate sections of lyrics, keeping only the first occurrence of each section.
53
+
54
+ 2. **Repetition Handling**:
55
+ - Detected and removed overall repetition by comparing the first and second halves of the lyrics.
56
+ - Removed duplicate sections based on tags (e.g., `[Chorus]`, `[Verse 1]`).
57
+
58
+ 3. **Line Breaks and Empty Lines**:
59
+ - Preserved line breaks before tags.
60
+ - Removed empty lines to improve readability.
61
+
62
+ 4. **Filtering Criteria**:
63
+ - Excluded lyrics with fewer than 1024 characters.
64
+ - Excluded lyrics with fewer than 100 unique words.
65
+
66
+ 5. **Regex Cleaning**:
67
+ - Removed irrelevant content such as advertisements (e.g., "See ... Get tickets as low as $X").
68
+ - Removed text inside brackets (e.g., `[Intro]`, `(Chorus)`).
69
+ - Removed punctuation while preserving language characters.
70
+
71
+ ### Notes/Limitations
72
+
73
+ - The dataset may contain outliers in length or content due to imperfections in the Genius search and crawling process.
74
+
75
+ ## Dataset Structure
76
+
77
+ The dataset is organized as follows:
78
+ - Each row corresponds to a song, with its song name, song artist and lyrics recorded.