NbAiLab/NPSC
Updated • 807 • 9
How to use NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk")
model = AutoModelForCTC.from_pretrained("NbAiLab/wav2vec2-large-voxrex-npsc-nynorsk", device_map="auto")YAML Metadata Error:"language[0]" must only contain lowercase characters
YAML Metadata Error:"language[0]" with value "nn-NO" is not valid. It must be an ISO 639-1, 639-2 or 639-3 code (two/three letters), or a special value like "code", "multilingual". If you want to use BCP-47 identifiers, you can specify them in language_bcp47.
This model is a fine-tuned version of KBLab/wav2vec2-large-voxrex on the NBAILAB/NPSC - 16K_MP3_NYNORSK dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 3.086 | 2.17 | 500 | 3.0773 | 1.0 |
| 2.8532 | 4.35 | 1000 | 2.8393 | 1.0 |
| 0.9738 | 6.52 | 1500 | 0.7283 | 0.4890 |
| 0.6763 | 8.7 | 2000 | 0.5340 | 0.3662 |
| 0.5303 | 10.87 | 2500 | 0.4521 | 0.3140 |
| 0.4765 | 13.04 | 3000 | 0.4181 | 0.2853 |
| 0.4219 | 15.22 | 3500 | 0.4156 | 0.2934 |
| 0.3564 | 17.39 | 4000 | 0.3925 | 0.2509 |
| 0.3282 | 19.57 | 4500 | 0.3824 | 0.2420 |
| 0.3118 | 21.74 | 5000 | 0.3636 | 0.2354 |
| 0.2919 | 23.91 | 5500 | 0.3615 | 0.2281 |
| 0.2961 | 26.09 | 6000 | 0.3548 | 0.2255 |
| 0.284 | 28.26 | 6500 | 0.3526 | 0.2209 |
| 0.2566 | 30.43 | 7000 | 0.3526 | 0.2205 |
| 0.2422 | 32.61 | 7500 | 0.3569 | 0.2173 |
| 0.2472 | 34.78 | 8000 | 0.3592 | 0.2166 |
| 0.2337 | 36.96 | 8500 | 0.3625 | 0.2172 |
| 0.2315 | 39.13 | 9000 | 0.3580 | 0.2155 |