sanchit-gandhi HF staff commited on
Commit
eb06462
1 Parent(s): ca2e6c4

add readme

Browse files
Files changed (1) hide show
  1. README.md +76 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - automatic-speech-recognition
5
+ language:
6
+ - en
7
+ extra_gated_prompt: |-
8
+ SpeechColab does not own the copyright of the audio files. For researchers and educators who wish to use the audio files for non-commercial research and/or educational purposes, we can provide access through the Hub under certain conditions and terms.
9
+ Terms of Access:
10
+ The "Researcher" has requested permission to use the GigaSpeech database (the "Database") at Tsinghua University. In exchange for such permission, Researcher hereby agrees to the following terms and conditions:
11
+ 1. Researcher shall use the Database only for non-commercial research and educational purposes.
12
+ 2. The SpeechColab team and Tsinghua University make no representations or warranties regarding the Database, including but not limited to warranties of non-infringement or fitness for a particular purpose.
13
+ 3. Researcher accepts full responsibility for his or her use of the Database and shall defend and indemnify the SpeechColab team and Tsinghua University, including their employees, Trustees, officers and agents, against any and all claims arising from Researcher's use of the Database, including but not limited to Researcher's use of any copies of copyrighted audio files that he or she may create from the Database.
14
+ 4. Researcher may provide research associates and colleagues with access to the Database provided that they first agree to be bound by these terms and conditions.
15
+ 5. The SpeechColab team and Tsinghua University reserve the right to terminate Researcher's access to the Database at any time.
16
+ 6. If Researcher is employed by a for-profit, commercial entity, Researcher's employer shall also be bound by these terms and conditions, and Researcher hereby represents that he or she is fully authorized to enter into this agreement on behalf of such employer.
17
+
18
+ Please also fill out the Google Form https://forms.gle/UuGQAPyscGRrUMLq6 to request access to the GigaSpeech dataset.
19
+ extra_gated_fields:
20
+ Name: text
21
+ Email: text
22
+ Organization: text
23
+ Address: text
24
+ I hereby confirm that I have requested access via the Google Form provided above: checkbox
25
+ I accept the terms of access: checkbox
26
+ ---
27
+
28
+ # Distil Whisper: GigaSpeech With Timestamps
29
+
30
+ This is a variant of the [GigaSpeech](https://huggingface.co/datasets/speechcolab/gigaspeech) dataset, augmented to return the pseudo-labelled Whisper
31
+ Transcriptions alongside the original dataset elements. The pseudo-labelled transcriptions were generated by
32
+ labelling the input audio data with the Whisper [large-v2](https://huggingface.co/openai/whisper-large-v2)
33
+ model with *greedy* sampling and timestamp prediction. For information on how the original dataset was curated, refer to the original
34
+ [dataset card](https://huggingface.co/datasets/speechcolab/gigaspeech).
35
+
36
+ ## Standalone Usage
37
+
38
+ First, install the latest version of the 🤗 Datasets package:
39
+
40
+ ```bash
41
+ pip install --upgrade pip
42
+ pip install --upgrade datasets[audio]
43
+ ```
44
+
45
+ The dataset can be downloaded and pre-processed on disk using the [`load_dataset`](https://huggingface.co/docs/datasets/v2.14.5/en/package_reference/loading_methods#datasets.load_dataset)
46
+ function:
47
+
48
+ ```python
49
+ from datasets import load_dataset
50
+
51
+ dataset = load_dataset("distil-whisper/gigaspeech-l", "l")
52
+ # take the first sample of the validation set
53
+ sample = dataset["validation"][0]
54
+ ```
55
+
56
+ It can also be streamed directly from the Hub using Datasets' [streaming mode](https://huggingface.co/blog/audio-datasets#streaming-mode-the-silver-bullet).
57
+ Loading a dataset in streaming mode loads individual samples of the dataset at a time, rather than downloading the entire
58
+ dataset to disk:
59
+
60
+ ```python
61
+ from datasets import load_dataset
62
+
63
+ dataset = load_dataset("distil-whisper/gigaspeech-l", "l", streaming=True)
64
+ # take the first sample of the validation set
65
+ sample = next(iter(dataset["validation"]))
66
+ ```
67
+
68
+ ## Distil Whisper Usage
69
+
70
+ To use this dataset to reproduce a Distil Whisper training run, refer to the instructions on the
71
+ [Distil Whisper repository](https://github.com/huggingface/distil-whisper#training).
72
+
73
+ ## License
74
+
75
+ This dataset is licensed under custom terms. To view the custom license for this dataset, refer to the original [dataset card](https://huggingface.co/datasets/speechcolab/gigaspeech).
76
+