Downloads · 30 days
11
1% of all-time downloads
dragonSwing/viwav2vec2-base-3k
viwav2vec2-base-3k is a automatic speech recognition model from dragonSwing. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as cc-by-sa-4.0.
The base model is pre-trained on 16kHz sampled speech audio from Vietnamese speech corpus containing 3K hours of spontaneous, reading, and broadcasting speech. When using the model make sure that your speech input is…
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
1.1K
Public
Parameters
95M
760 MB on disk
Likes
3
Public
Click a slice to open those files.
.bin380 MB · 50%
From the Hugging Face model README
The base model is pre-trained on 16kHz sampled speech audio from Vietnamese speech corpus containing 3K hours of spontaneous, reading, and broadcasting speech. When using the model make sure that your speech input is also sampled at 16Khz. Note that this model should be fine-tuned on a downstream task, like Vietnamese Automatic Speech Recognition.
Note: This model does not have a tokenizer as it was pretrained on audio alone. In order to use this model speech recognition, a tokenizer should be created and the model should be fine-tuned on labeled text data. Check out this blog for more in-detail explanation of how to fine-tune the model.
Facebook's Wav2Vec2 blog
Paper
See this notebook for more information on how to fine-tune the English pre-trained model.
import torch
from transformers import Wav2Vec2Model
model = Wav2Vec2Model.from_pretrained("dragonSwing/viwav2vec2-base-3k")
# Sanity check
inputs = torch.rand([1, 16000])
outputs = model(inputs)