Audio Classification
Transformers
ONNX
Safetensors
Transformers.js
English
wav2vec2
audio
keyword-spotting
speech-commands
Eval Results (legacy)
Instructions to use diegomponte/wav2vec2-base-speech-commands-35 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diegomponte/wav2vec2-base-speech-commands-35 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="diegomponte/wav2vec2-base-speech-commands-35")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("diegomponte/wav2vec2-base-speech-commands-35") model = AutoModelForAudioClassification.from_pretrained("diegomponte/wav2vec2-base-speech-commands-35", device_map="auto") - Transformers.js
How to use diegomponte/wav2vec2-base-speech-commands-35 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('audio-classification', 'diegomponte/wav2vec2-base-speech-commands-35'); - Notebooks
- Google Colab
- Kaggle
Commit History
12 days ago
-
Document ONNX exports and their measured accuracy
Verified signatureb8761fd -
Add ONNX exports (fp32 and MatMul-only int8) for Transformers.js
Verified signature91d4228
13 days ago
-
Add model card
Verified signaturef738fa4 -
Add Wav2Vec2-base fine-tuned on Speech Commands v0.02 (35 words)
Verified signatureb1427ba -
initial commit
Verified signature0406178