formospeech/hat_asr_aligned
Viewer โข Updated โข 830k โข 163
How to use jethrowang/webcam_emb-whisper-tiny with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="jethrowang/webcam_emb-whisper-tiny") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("jethrowang/webcam_emb-whisper-tiny")
model = AutoModelForSpeechSeq2Seq.from_pretrained("jethrowang/webcam_emb-whisper-tiny", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("jethrowang/webcam_emb-whisper-tiny")
model = AutoModelForSpeechSeq2Seq.from_pretrained("jethrowang/webcam_emb-whisper-tiny", device_map="auto")This model is a fine-tuned version of openai/whisper-tiny on the HAT ASR Aligned 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 | Cer |
|---|---|---|---|---|
| 0.2495 | 0.9980 | 488 | 0.3384 | 23.3014 |
| 0.1352 | 1.9959 | 976 | 0.2472 | 16.6320 |
| 0.0854 | 2.9939 | 1464 | 0.2133 | 16.6389 |
| 0.0447 | 3.9918 | 1952 | 0.1956 | 22.4831 |
| 0.0282 | 4.9898 | 2440 | 0.1921 | 12.4096 |
| 0.0167 | 5.9877 | 2928 | 0.1670 | 10.9682 |
| 0.0115 | 6.9857 | 3416 | 0.1833 | 10.5590 |
| 0.0078 | 7.9836 | 3904 | 0.1591 | 9.6204 |
| 0.0057 | 8.9816 | 4392 | 0.1568 | 10.5324 |
| 0.0037 | 9.9796 | 4880 | 0.1684 | 10.1371 |
| 0.0036 | 10.9775 | 5368 | 0.1626 | 10.8352 |
| 0.0015 | 11.9755 | 5856 | 0.1451 | 10.4226 |
| 0.0016 | 12.9734 | 6344 | 0.1562 | 10.2099 |
| 0.0007 | 13.9714 | 6832 | 0.1575 | 8.7731 |
| 0.0004 | 14.9693 | 7320 | 0.1395 | 9.8597 |
| 0.0006 | 15.9673 | 7808 | 0.1421 | 8.3316 |
| 0.0003 | 16.9652 | 8296 | 0.1345 | 7.5433 |
| 0.0001 | 17.9632 | 8784 | 0.1322 | 7.8692 |
| 0.0001 | 18.9611 | 9272 | 0.1326 | 7.3630 |
| 0.0001 | 19.9591 | 9760 | 0.1323 | 7.3156 |
Base model
openai/whisper-tiny
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="jethrowang/webcam_emb-whisper-tiny")