Automatic Speech Recognition
Transformers
Safetensors
Northern Kurdish
wav2vec2-bert
kurdish
badini
kurmanji
low-resource
Instructions to use computeram/badini-w2v-bert-normalized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use computeram/badini-w2v-bert-normalized with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="computeram/badini-w2v-bert-normalized")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("computeram/badini-w2v-bert-normalized") model = AutoModelForCTC.from_pretrained("computeram/badini-w2v-bert-normalized", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -12,21 +12,6 @@ tags:
|
|
| 12 |
- low-resource
|
| 13 |
base_model: facebook/w2v-bert-2.0
|
| 14 |
pipeline_tag: automatic-speech-recognition
|
| 15 |
-
metrics:
|
| 16 |
-
- wer
|
| 17 |
-
- cer
|
| 18 |
-
model-index:
|
| 19 |
-
- name: badini-w2v-bert-normalized
|
| 20 |
-
results:
|
| 21 |
-
- task:
|
| 22 |
-
type: automatic-speech-recognition
|
| 23 |
-
metrics:
|
| 24 |
-
- type: wer
|
| 25 |
-
value: 26.53
|
| 26 |
-
name: WER (normalized)
|
| 27 |
-
- type: cer
|
| 28 |
-
value: 11.32
|
| 29 |
-
name: CER (normalized)
|
| 30 |
---
|
| 31 |
|
| 32 |
# Badini Kurdish ASR — Normalized (Wav2Vec2-BERT)
|
|
@@ -36,14 +21,7 @@ Kurmanji, written in Arabic script), fine-tuned from
|
|
| 36 |
[`facebook/w2v-bert-2.0`](https://huggingface.co/facebook/w2v-bert-2.0)
|
| 37 |
with a CTC head.
|
| 38 |
|
| 39 |
-
This repository includes a companion text-normalization module
|
| 40 |
-
(`badini_normalize.py`) alongside the model, so following the usage example
|
| 41 |
-
below gives normalized output: **WER 26.5%, CER 11.3%** on a 1,123-sample
|
| 42 |
-
test set.
|
| 43 |
-
|
| 44 |
-
For the raw acoustic model without normalization (WER 46.5%, CER 12.0% on
|
| 45 |
-
2,038 samples), see
|
| 46 |
-
[computeram/badini-w2v-bert](https://huggingface.co/computeram/badini-w2v-bert).
|
| 47 |
|
| 48 |
## Input requirements
|
| 49 |
|
|
|
|
| 12 |
- low-resource
|
| 13 |
base_model: facebook/w2v-bert-2.0
|
| 14 |
pipeline_tag: automatic-speech-recognition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Badini Kurdish ASR — Normalized (Wav2Vec2-BERT)
|
|
|
|
| 21 |
[`facebook/w2v-bert-2.0`](https://huggingface.co/facebook/w2v-bert-2.0)
|
| 22 |
with a CTC head.
|
| 23 |
|
| 24 |
+
This repository includes a companion text-normalization module (`badini_normalize.py`) alongside the model. Following the usage example below applies punctuation handling, number expansion, and character normalization to the raw model output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Input requirements
|
| 27 |
|