https://github.com/ai4bharat/lahaja
This repository holds the artifacts of 'LAHAJA: A Robust Multi-accent Benchmark for Evaluating Hindi ASR Systems'
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Repository
This repository holds the artifacts of 'LAHAJA: A Robust Multi-accent Benchmark for Evaluating Hindi ASR Systems'
Basic Info
- Host: GitHub
- Owner: AI4Bharat
- Default Branch: master
- Size: 7.81 KB
Statistics
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 1
- Releases: 1
Metadata Files
README.md
LAHAJA: A Robust Multi-accent Benchmark for Evaluating Hindi ASR Systems
Hindi, one of the most spoken language of India, exhibits a diverse array of accents due to its usage among individuals from diverse linguistic origins. To enable a robust evaluation of Hindi ASR systems on multiple accents, we create a benchmark, LAHAJA, which contains read and extempore speech on a diverse set of topics and use cases, with a total of 12.5 hours of Hindi audio, sourced from 132 speakers spanning 83 districts of India. We evaluate existing open-source and commercial models on LAHAJA and find their performance to be poor. We then train models using different datasets and find that our model trained on multilingual data with good speaker diversity outperforms existing models by a significant margin. We also present a fine grained analysis which shows that the performance declines for speakers from North-East and South India, especially with content heavy in named entities and specialized terminology.
Resources
|Resource name | link | | - | - | | Dataset | Lahaja | | Model - M1 | M1 | | Model - M2 | M2 | | Model - M3 | M3 | | Model - M4 | M4 |
Dataset details
The lahaja contains two thing:
- audio folder which contains all the speech data
- meta-data-lahaja.csv mapping file, that contains transcripts along with the additional speaker details (given below)
The csv contains the following data with respect to the audio:
* verbatim -- Verbatim version of the transcript.
* normalized -- Normalized version of the transcript.
* duration -- Duration of audio recorded (seconds)
* scenario -- Type of speech data (read/extempore)
* fname -- File name
* native_language -- Native language of the participant
* gender -- Gender (Male/Female)
* age_group -- Age group of the participant
* native_state -- Speaker's native state
* native_district -- Speaker's native district
* sp_id -- Unique speaker id
* text -- Cleaned version of normalized transcript (after braces removal).
* lang -- langauge id (hi)
* job_category -- speaker's job category
* occupation_domain -- speaker's domain of occupation (Education and Research, Healthcare [Medical & Pharma], Government, Technology and Services, Information and Media, Financial Services [Banking and Insurance], Transportation and Logistics, Entertainment, Social service, Manufacturing & Retail)
* occupation -- Speaker's occupation
* job_type -- speakers's job category (Part Time, Full Time, Other)
* age-group -- speaker's age group (18-30, 30-45, 45-60 & 60+ )
* qual -- speaker's highest education qualification
Lahaja folder tree
Lahaja ├── audio │ ├── <filename>.wav │ . │ . │ . └── meta-data-lahaja.csv
Model Training and Inference
Install NeMo
Training command
python ${RUNNER_PATH}/speech_to_text_hybrid_rnnt_ctc_bpe.py \ --config-path=${CONFIG_PATH} \ --config-name=${CONFIG_NAME} \ trainer.devices=-1 \ trainer.accelerator="gpu" \ trainer.strategy="ddp_find_unused_parameters_true" \ exp_manager.name=<exp_name> \ exp_manager.wandb_logger_kwargs.name=<exp_name> \ exp_manager.explicit_log_dir=$LOG_DIRInference
OMP_NUM_THREADS=64 python ${RUNNER_PATH}/transcribe_speech.py \ model_path=$MODEL_PATH \ dataset_manifest=$MANIFEST_PATH.json \ output_filename=$SAVE_FILE_NAME \ langid=$LANGID \ batch_size=64 \ compute_timestamps=False \ compute_langs=False \ cuda=$GPU_ID \ amp=True \ append_pred=False<!--Citation
If you benefit from this dataset, kindly cite as follows:
``` @misc{ to be updated } -->
Owner
- Name: AI4Bhārat
- Login: AI4Bharat
- Kind: organization
- Email: opensource@ai4bharat.org
- Location: India
- Website: https://ai4bharat.org
- Twitter: AI4Bharat
- Repositories: 37
- Profile: https://github.com/AI4Bharat
Artificial-Intelligence-For-Bhārat : Building open-source AI solutions for India!
GitHub Events
Total
- Issues event: 1
- Push event: 2
Last Year
- Issues event: 1
- Push event: 2
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- nishant-play (1)