Rexe commited on
Commit
70eff4f
·
verified ·
1 Parent(s): 135c27e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +115 -32
README.md CHANGED
@@ -1,34 +1,117 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: audio
5
- dtype:
6
- audio:
7
- sampling_rate: 16000
8
- - name: text
9
- dtype: string
10
- - name: duration
11
- dtype: float64
12
- - name: source
13
- dtype: string
14
- - name: video_title
15
- dtype: string
16
- - name: transcription_source
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 401893504.10958904
21
- num_examples: 65
22
- - name: test
23
- num_bytes: 49463815.89041096
24
- num_examples: 8
25
- download_size: 12351565
26
- dataset_size: 451357320.0
27
- configs:
28
- - config_name: default
29
- data_files:
30
- - split: train
31
- path: data/train-*
32
- - split: test
33
- path: data/test-*
34
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ - pcm # Nigerian Pidgin
5
+ task_categories:
6
+ - automatic-speech-recognition
7
+ - text-generation
8
+ tags:
9
+ - whisper
10
+ - nigerian-pidgin
11
+ - speech-recognition
12
+ - text
13
+ size_categories:
14
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
+
17
+ # Nigerian Pidgin Audio + Text Dataset for Whisper Fine-tuning
18
+
19
+ Nigerian Pidgin speech dataset for Whisper fine-tuning
20
+
21
+ ## Dataset Summary
22
+
23
+ This dataset contains audio recordings and transcriptions in Nigerian Pidgin English, designed for fine-tuning speech recognition models, particularly OpenAI's Whisper.
24
+
25
+ ## Dataset Structure
26
+
27
+ - **Train Split**: 65 samples
28
+ - **Test Split**: 8 samples
29
+ - **Total Duration**: 0.0 hours (estimated)
30
+ - **Average Duration**: 2.4 seconds per sample
31
+ - **Sample Rate**: 16kHz
32
+ - **Audio Format**: WAV
33
+
34
+ ## Sample Data
35
+
36
+ Here are some example transcriptions from the dataset:
37
+
38
+ ```
39
+ - ♪ EVERYDAY NA BILLING ♪
40
+ - ♪ SHE CALL ME SANTA ♪
41
+ - ♪ SEYCHELLES, ADDIS ABABA ♪
42
+ - ♪ I FOR DON TURN VISITOR ♪
43
+ - ♪ SHE NO WAN TURN TO OROBOKIBO ♪
44
+ ```
45
+
46
+ ## Usage
47
+
48
+ ### Loading the Dataset
49
+
50
+ ```python
51
+ from datasets import load_dataset
52
+
53
+ # Load the dataset
54
+ dataset = load_dataset("Rexe/nigerian-pidgin-speech")
55
+
56
+ # Access train and test splits
57
+ train_data = dataset["train"]
58
+ test_data = dataset["test"]
59
+ ```
60
+
61
+ ### Training with Transformers
62
+
63
+ ```python
64
+ from transformers import WhisperForConditionalGeneration, WhisperProcessor
65
+
66
+ # Load model and processor
67
+ model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-small")
68
+ processor = WhisperProcessor.from_pretrained("openai/whisper-small")
69
+
70
+ # Your training code here...
71
+ ```
72
+
73
+ ## Google Colab Training
74
+
75
+ Use this dataset directly in Google Colab for training:
76
+
77
+ ```python
78
+ # Install requirements
79
+ !pip install datasets transformers torch torchaudio
80
+
81
+ # Load dataset
82
+ from datasets import load_dataset
83
+ dataset = load_dataset("Rexe/nigerian-pidgin-speech")
84
+
85
+ # Start training...
86
+ ```
87
+
88
+ ## Languages
89
+
90
+ - **English** (en): Base language
91
+ - **Nigerian Pidgin** (pcm): Target language for fine-tuning
92
+
93
+ ## Common Pidgin Phrases
94
+
95
+ - "How you dey?" - How are you?
96
+ - "I dey fine o" - I am fine
97
+ - "Wetin dey happen?" - What's happening?
98
+ - "Make we go" - Let's go
99
+ - "Abeg help me" - Please help me
100
+
101
+
102
+ ## Citation
103
+
104
+ If you use this dataset, please cite:
105
+
106
+ ```bibtex
107
+ @dataset{nigerian_pidgin_speech,
108
+ title={Nigerian Pidgin Audio + Text Dataset},
109
+ author={Your Name},
110
+ year={2024},
111
+ url={https://huggingface.co/datasets/Rexe/nigerian-pidgin-speech}
112
+ }
113
+ ```
114
+
115
+ ## License
116
+
117
+ This dataset is released under the MIT License.