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

harshit345
/
xlsr-wav2vec-speech-emotion-recognition

Audio Classification
Transformers
PyTorch
English
wav2vec2
audio
speech
Model card Files Files and versions
xet
Community
7

Instructions to use harshit345/xlsr-wav2vec-speech-emotion-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use harshit345/xlsr-wav2vec-speech-emotion-recognition with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("audio-classification", model="harshit345/xlsr-wav2vec-speech-emotion-recognition")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoProcessor, Wav2Vec2ForSpeechClassification
    
    processor = AutoProcessor.from_pretrained("harshit345/xlsr-wav2vec-speech-emotion-recognition")
    model = Wav2Vec2ForSpeechClassification.from_pretrained("harshit345/xlsr-wav2vec-speech-emotion-recognition", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Adding `safetensors` variant of this model

#7 opened about 3 years ago by
SFconvertbot

what dataset did you use to train the model?

1
#6 opened over 3 years ago by
pollner

Wav2Vec2ForSpeechClassification not found

👍 3
3
#5 opened over 3 years ago by
krugjo

Update README.md

#4 opened over 3 years ago by
marrnavarro

RuntimeError: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [1, 1, 2, 476544]

2
#3 opened over 3 years ago by
wuyuh

No Wav2Vec2ForSpeechClassification API in transformers

1
#2 opened about 4 years ago by
machinelearningzuu

Wav2Vec2ForSpeechClassification

3
#1 opened about 4 years ago by
wuyuh
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs