Downloads · 30 days
0
mijuanlo/silero-vad-onnx
silero-vad-onnx is a voice activity detection model from mijuanlo. Use it for the voice activity detection task on the model card, and read the license before you ship it in a product. It is set up for onnx. The card lists the license as mit.
Silero Voice Activity Detection (VAD) model in ONNX format. Detects when a person is speaking in an audio stream.
Downloads · 30 days
0
Access
Public
Updated Jul 3, 2026
Repo size
8.1 MB
Likes
1
Public
Click a slice to open those files.
.onnx11 MB · 100%
From the Hugging Face model README
Silero Voice Activity Detection (VAD) model in ONNX format. Detects when a person is speaking in an audio stream.
Original source: snakers4/silero-vad
This is an exact copy of onnx-community/silero-vad.
| File | Quantization |
|---|---|
onnx/model.onnx | FP32 (original) |
onnx/model_fp16.onnx | FP16 |
onnx/model_int8.onnx | INT8 |
onnx/model_uint8.onnx | UINT8 |
onnx/model_quantized.onnx | Quantized (generic) |
onnx/model_q4.onnx | 4-bit |
onnx/model_q4f16.onnx | 4-bit + FP16 |
onnx/model_bnb4.onnx | bitsandbytes 4-bit |
import numpy as np
import onnxruntime as ort
session = ort.InferenceSession("onnx/model_int8.onnx")
input_name = session.get_inputs()[0].name
sr_name = session.get_inputs()[1].name
audio = np.random.randn(1, 512).astype(np.float32)
sample_rate = np.array([16000], dtype=np.int64)
outputs = session.run(None, {input_name: audio, sr_name: sample_rate})
speech_prob = outputs[0]
import torch
torch.set_num_threads(1)
model, utils = torch.hub.load(
repo_or_dir="snakers4/silero-vad",
model="silero_vad",
)
get_speech_timestamps, _, read_audio, _, _ = utils
wav = read_audio("audio.wav")
speech_timestamps = get_speech_timestamps(wav, model, return_seconds=True)
from faster_whisper import WhisperModel
model = WhisperModel("small", device="cuda", compute_type="int8", vad_filter=True)
segments, _ = model.transcribe("audio.mp3")
MIT License (same as snakers4/silero-vad)
Hugging Face: mijuanlo/silero-vad-onnx