Views
No views yet
1git clone https://github.com/elyadata/ADI-20
2cd ADI-20
3pip install -r requirements.txtrequirements.txt in the ADI-20 github repository, you may also install it from source using the following command:pip install git+https://github.com/speechbrain/speechbrain.git@develop1from inference.classifier_attention_pooling import WhisperDialectClassifier
2
3dialect_id = WhisperDialectClassifier.from_hparams(
4 source="Elyadata/ADI-whisper-ADI20",
5 hparams_file="hyperparams.yaml",
6 savedir="pretrained_DID",
7 run_opts={"device": "cuda"} # If using a GPU (recommended).
8 )
9
10out_prob, score, index, text_lab = dialect_id.classify_file("your_file.wav")
11print(f"Predicted dialect: {text_lab[0]}")
12print("-" * 15)
13print(f"Dialect index: {index}")
14print(f"Score: {score}")
15print(f"Output log probs: {out_prob}")
16print("-" * 15)
17| RANK | Codabench Username | Accuracy | Cost |
|---|---|---|---|
| 🥇 | harounelleuch (this model) | 0.7983 | 0.1788 |
| 🥈 | badr_alabsi | 0.7640 | 0.2265 |
| 🥉 | rafiulbiswas | 0.616 | 0.3068 |
| 4 | gahmed92 | 0.612 | 0.3477 |
| 5 | ADI Baseline | 0.6109 | 0.3422 |
1@inproceedings{elleuch25_interspeech,
2 title = {{ADI-20: Arabic Dialect Identification dataset and models}},
3 author = {Haroun Elleuch and Salima Mdhaffar and Yannick Estève and Fethi Bougares},
4 year = {2025},
5 booktitle = {{Interspeech 2025}},
6 pages = {2775--2779},
7 doi = {10.21437/Interspeech.2025-884},
8 issn = {2958-1796},
9}
10
11@inproceedings{elleuch-etal-2025-elyadata,
12 title = "{ELYADATA} {\&} {LIA} at {NADI} 2025: {ASR} and {ADI} Subtasks",
13 author = "Elleuch, Haroun and
14 Saidi, Youssef and
15 Mdhaffar, Salima and
16 Est{\`e}ve, Yannick and
17 Bougares, Fethi",
18 booktitle = "Proceedings of The Third Arabic Natural Language Processing Conference: Shared Tasks",
19 month = nov,
20 year = "2025",
21 address = "Suzhou, China",
22 publisher = "Association for Computational Linguistics",
23 url = "https://aclanthology.org/2025.arabicnlp-sharedtasks.105/",
24 doi = "10.18653/v1/2025.arabicnlp-sharedtasks.105",
25 pages = "762--766",
26 ISBN = "979-8-89176-356-2",
27}