Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

diegomponte
/
wav2vec2-base-speech-commands-35

Audio Classification
Transformers
ONNX
Safetensors
Transformers.js
English
wav2vec2
audio
keyword-spotting
speech-commands
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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
wav2vec2-base-speech-commands-35
879 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
diegomponte's picture
diegomponte
Document ONNX exports and their measured accuracy
b8761fd verified 1 day ago
  • onnx
    Add ONNX exports (fp32 and MatMul-only int8) for Transformers.js 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    4.38 kB
    Document ONNX exports and their measured accuracy 1 day ago
  • config.json
    3.58 kB
    Add Wav2Vec2-base fine-tuned on Speech Commands v0.02 (35 words) 1 day ago
  • model.safetensors
    378 MB
    xet
    Add Wav2Vec2-base fine-tuned on Speech Commands v0.02 (35 words) 1 day ago
  • preprocessor_config.json
    215 Bytes
    Add Wav2Vec2-base fine-tuned on Speech Commands v0.02 (35 words) 1 day ago