Downloads · 30 days
188
88% of all-time downloads
mitkaj/w2v2BERT-CZ-CV-17.0
w2v2BERT-CZ-CV-17.0 is a automatic speech recognition model from mitkaj. Use it when you need speech turned into text. The card lists the license as mit.
This is a fine-tuned Wav2Vec2BERT model for Czech Automatic Speech Recognition (ASR) using CTC loss.
Downloads · 30 days
188
88% of all-time downloads
All-time downloads
214
Public
Parameters
606M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.4 GB · 100%
From the Hugging Face model README
This is a fine-tuned Wav2Vec2BERT model for Czech Automatic Speech Recognition (ASR) using CTC loss.
from transformers import AutoProcessor, AutoModelForCTC
import torch
# Load model and processor
processor = AutoProcessor.from_pretrained("mitkaj/w2v2BERT-CZ-CV-17.0")
model = AutoModelForCTC.from_pretrained("mitkaj/w2v2BERT-CZ-CV-17.0")
# Process audio
inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
# Get logits
with torch.no_grad():
logits = model(**inputs).logits
# Decode
predicted_ids = torch.argmax(logits, dim=-1)
transcription = processor.batch_decode(predicted_ids)
This model was trained using the CTC approach on Czech speech data.
The model was evaluated on Czech test data using WER (Word Error Rate) metric.
If you use this model, please cite the original Wav2Vec2BERT paper and this fine-tuned version.