All models
Speech to text Meta

Wav2vec2 Base 960H

Wav2Vec2 Base 960h - English ASR with CTC decoding

wav2vec2-base-960h

Make it part of your app.

One model. Your language.

main.rs
use xybrid::ModelLoader;
use xybrid::ir::{Envelope, EnvelopeKind};

// Load the ASR model
let model = ModelLoader::from_registry("wav2vec2-base-960h").load()?;

// Transcribe a WAV file
let input = Envelope::new(EnvelopeKind::Audio(std::fs::read("recording.wav")?));
let result = model.run(&input, None)?;

println!("{}", result.text().unwrap_or(""));
Built with Xybrid Quickstart

Available variants

VariantFormatQuantizationSize
universalDEFAULTONNXfp32220.3 MB