Comments (4)
For VoxPopuli I find raw_text
to contain empty strings and think that is why my pseudo-labelling script failed after hours of compute with a ValueError("one or more references are empty strings")
.
For facebook/voxpopuli
train split I find 5,463 empty "raw_text" strings of the 182,482 examples. Each empty "raw_text" string has a corresponding non-empty "normalized_text" string.
from distil-whisper.
Copied from #98
When pseudo-labelling the Voxpopuli dataset the "raw_text" (needed for option --text_column_name) may be an empty string for some examples - see HF dataset model card here for an empty "raw_text" example.
Question: how do I check which text name ("raw_text" or "normalized_text") was used when creating the pseudo-labelled datasets on HF, such as https://huggingface.co/datasets/distil-whisper/voxpopuli ?
from distil-whisper.
Hey @guynich - the provided transcriptions in the original VoxPopuli dataset are only used for computing the WER in the pseudo-labelling and distillation scripts. Since the WER is computed on normalised transcriptions, you can safely use the "normalized_text"
column in the dataset, which is what was done for the Distil-Whisper datasets.
If you do decide to use the un-normalised (raw) text column, you should filter out any empty transcriptions from your dataset using a raw_datasets.filter
method, e.g. as done here:
distil-whisper/training/run_distillation.py
Lines 1224 to 1236 in b948d02
from distil-whisper.
Thank you for the helpful comment and for the fix #102. Closing.
from distil-whisper.
Related Issues (20)
- large-v2 for english lost voice to text HOT 1
- Finetuning on which model? HOT 1
- Resuming training fails HOT 3
- [Issue] latest run_pseudo_labelling.py
- [Question] Can we distill for multiple langauges for distil-small-whisper HOT 3
- Quantize distil-whisper?
- perceptually faster inference through pre-completion inference of audio
- RuntimeError: User specified an unsupported autocast device_type 'mps'
- question about when to apply WER threshold filtering strategy with concatenated audio
- Problems in concatenate_dataset
- How to set the target language for examples in README? HOT 7
- Unable to reproduce results from the paper HOT 6
- Question: should the pseudo-labelling model and teacher model be the same? HOT 2
- BetterTransformer optimization / flash_attn{_2} HOT 6
- Cached English Common Voice dataset size. HOT 1
- How to use distil-whisper-large-v3-de-kd model from HF? HOT 10
- Pseudo-labelling librispeech_asr (train.360): KeyError `train-360` when not streaming. HOT 1
- Voxpopuli text column "raw_text" HF dataset card shows empty string. HOT 1
- any executable script for running on custom data/given dataset HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distil-whisper.