Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,76 +1,35 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
license: apache-2.0
|
| 4 |
-
base_model: tarteel-ai/whisper-base-ar-quran
|
| 5 |
tags:
|
| 6 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
metrics:
|
| 8 |
- wer
|
| 9 |
-
|
| 10 |
-
- name: tahkik-basic-warsh
|
| 11 |
-
results: []
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
| 15 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
-
|
| 17 |
-
# tahkik-basic-warsh
|
| 18 |
-
|
| 19 |
-
This model is a fine-tuned version of [tarteel-ai/whisper-base-ar-quran](https://huggingface.co/tarteel-ai/whisper-base-ar-quran) on an unknown dataset.
|
| 20 |
-
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.1363
|
| 22 |
-
- Wer: 0.2579
|
| 23 |
-
|
| 24 |
-
## Model description
|
| 25 |
-
|
| 26 |
-
More information needed
|
| 27 |
-
|
| 28 |
-
## Intended uses & limitations
|
| 29 |
-
|
| 30 |
-
More information needed
|
| 31 |
-
|
| 32 |
-
## Training and evaluation data
|
| 33 |
-
|
| 34 |
-
More information needed
|
| 35 |
-
|
| 36 |
-
## Training procedure
|
| 37 |
-
|
| 38 |
-
### Training hyperparameters
|
| 39 |
-
|
| 40 |
-
The following hyperparameters were used during training:
|
| 41 |
-
- learning_rate: 1e-05
|
| 42 |
-
- train_batch_size: 8
|
| 43 |
-
- eval_batch_size: 8
|
| 44 |
-
- seed: 42
|
| 45 |
-
- gradient_accumulation_steps: 4
|
| 46 |
-
- total_train_batch_size: 32
|
| 47 |
-
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
-
- lr_scheduler_type: linear
|
| 49 |
-
- lr_scheduler_warmup_steps: 200
|
| 50 |
-
- training_steps: 3000
|
| 51 |
-
- mixed_precision_training: Native AMP
|
| 52 |
-
|
| 53 |
-
### Training results
|
| 54 |
-
|
| 55 |
-
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 56 |
-
|:-------------:|:------:|:----:|:---------------:|:------:|
|
| 57 |
-
| 0.9224 | 0.7128 | 250 | 0.2397 | 0.3444 |
|
| 58 |
-
| 0.7034 | 1.4248 | 500 | 0.1826 | 0.2841 |
|
| 59 |
-
| 0.5101 | 2.1368 | 750 | 0.1638 | 0.2719 |
|
| 60 |
-
| 0.5467 | 2.8496 | 1000 | 0.1525 | 0.2636 |
|
| 61 |
-
| 0.4900 | 3.5617 | 1250 | 0.1468 | 0.2568 |
|
| 62 |
-
| 0.3796 | 4.2737 | 1500 | 0.1433 | 0.2614 |
|
| 63 |
-
| 0.3936 | 4.9865 | 1750 | 0.1379 | 0.2593 |
|
| 64 |
-
| 0.3418 | 5.6985 | 2000 | 0.1361 | 0.2604 |
|
| 65 |
-
| 0.2647 | 6.4105 | 2250 | 0.1364 | 0.2605 |
|
| 66 |
-
| 0.2935 | 7.1226 | 2500 | 0.1351 | 0.2576 |
|
| 67 |
-
| 0.2669 | 7.8354 | 2750 | 0.1339 | 0.2565 |
|
| 68 |
-
| 0.2836 | 8.5474 | 3000 | 0.1346 | 0.2601 |
|
| 69 |
|
|
|
|
|
|
|
| 70 |
|
| 71 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
-
-
|
| 75 |
-
-
|
| 76 |
-
-
|
|
|
|
| 1 |
---
|
| 2 |
+
language: ar
|
| 3 |
license: apache-2.0
|
|
|
|
| 4 |
tags:
|
| 5 |
+
- automatic-speech-recognition
|
| 6 |
+
- whisper
|
| 7 |
+
- quran
|
| 8 |
+
- warsh
|
| 9 |
+
- arabic
|
| 10 |
+
- tajweed
|
| 11 |
+
- tahkik
|
| 12 |
+
datasets:
|
| 13 |
+
- benhadjermed/warsh_quran_aligned
|
| 14 |
+
base_model: tarteel-ai/whisper-base-ar-quran
|
| 15 |
metrics:
|
| 16 |
- wer
|
| 17 |
+
pipeline_tag: automatic-speech-recognition
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Tahkik — Warsh Quran ASR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
Fine-tuned from [`tarteel-ai/whisper-base-ar-quran`](https://huggingface.co/tarteel-ai/whisper-base-ar-quran)
|
| 23 |
+
on [`benhadjermed/warsh_quran_aligned`](https://huggingface.co/datasets/benhadjermed/warsh_quran_aligned).
|
| 24 |
|
| 25 |
+
## Usage
|
| 26 |
+
```python
|
| 27 |
+
from transformers import pipeline
|
| 28 |
+
asr = pipeline("automatic-speech-recognition", model="benhadjermed/tahkik-basic-warsh")
|
| 29 |
+
print(asr("your_warsh_recitation.wav")["text"])
|
| 30 |
+
```
|
| 31 |
|
| 32 |
+
## Training
|
| 33 |
+
- Base model: `tarteel-ai/whisper-base-ar-quran`
|
| 34 |
+
- Steps: 3000 | LR: 1e-05 | Effective batch: 32
|
| 35 |
+
- Test WER: 0.2579
|