Instructions to use m3hrdadfi/hubert-base-persian-speech-emotion-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use m3hrdadfi/hubert-base-persian-speech-emotion-recognition with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, HubertForSpeechClassification processor = AutoProcessor.from_pretrained("m3hrdadfi/hubert-base-persian-speech-emotion-recognition") model = HubertForSpeechClassification.from_pretrained("m3hrdadfi/hubert-base-persian-speech-emotion-recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened almost 2 years ago
by
SFconvertbot