Instructions to use bkh6722/bach-arb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bkh6722/bach-arb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="bkh6722/bach-arb")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("bkh6722/bach-arb") model = AutoModelForCTC.from_pretrained("bkh6722/bach-arb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -13,8 +13,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 13 |
|
| 14 |
This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on an unknown dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
-
- Loss:
|
| 17 |
-
- Wer: 0.
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -42,29 +42,29 @@ The following hyperparameters were used during training:
|
|
| 42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 43 |
- lr_scheduler_type: linear
|
| 44 |
- lr_scheduler_warmup_steps: 500
|
| 45 |
-
- num_epochs:
|
| 46 |
- mixed_precision_training: Native AMP
|
| 47 |
|
| 48 |
### Training results
|
| 49 |
|
| 50 |
-
| Training Loss | Epoch
|
| 51 |
-
|:-------------:|:-----
|
| 52 |
-
|
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
-
| 0.
|
| 65 |
-
| 0.
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
|
|
|
| 13 |
|
| 14 |
This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on an unknown dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
+
- Loss: 1.4973
|
| 17 |
+
- Wer: 0.1773
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
|
|
| 42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 43 |
- lr_scheduler_type: linear
|
| 44 |
- lr_scheduler_warmup_steps: 500
|
| 45 |
+
- num_epochs: 70
|
| 46 |
- mixed_precision_training: Native AMP
|
| 47 |
|
| 48 |
### Training results
|
| 49 |
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 51 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
| 52 |
+
| 15.3922 | 4.34 | 100 | 3.9501 | 1.0 |
|
| 53 |
+
| 3.1463 | 8.68 | 200 | 3.1116 | 1.0 |
|
| 54 |
+
| 2.6716 | 13.04 | 300 | 1.9330 | 0.9732 |
|
| 55 |
+
| 1.7477 | 17.38 | 400 | 1.2022 | 0.6870 |
|
| 56 |
+
| 1.0917 | 21.72 | 500 | 1.1228 | 0.5037 |
|
| 57 |
+
| 0.8226 | 26.09 | 600 | 0.9606 | 0.3741 |
|
| 58 |
+
| 0.6129 | 30.43 | 700 | 1.1126 | 0.4352 |
|
| 59 |
+
| 0.4598 | 34.77 | 800 | 0.9926 | 0.2772 |
|
| 60 |
+
| 0.3705 | 39.13 | 900 | 1.2002 | 0.2578 |
|
| 61 |
+
| 0.2999 | 43.47 | 1000 | 1.2655 | 0.2623 |
|
| 62 |
+
| 0.2338 | 47.81 | 1100 | 1.2948 | 0.2101 |
|
| 63 |
+
| 0.1817 | 52.17 | 1200 | 1.3376 | 0.2027 |
|
| 64 |
+
| 0.1545 | 56.51 | 1300 | 1.2346 | 0.1863 |
|
| 65 |
+
| 0.1285 | 60.85 | 1400 | 1.3974 | 0.1937 |
|
| 66 |
+
| 0.1024 | 65.21 | 1500 | 1.4698 | 0.1803 |
|
| 67 |
+
| 0.0777 | 69.55 | 1600 | 1.4973 | 0.1773 |
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|