Instructions to use zealerx/emotion2vec_plus_large-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use zealerx/emotion2vec_plus_large-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download zealerx/emotion2vec_plus_large-mlx --local-dir emotion2vec_plus_large-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from zealerx/emotion2vec_plus_large-mlx: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/zealerx/emotion2vec_plus_large-mlx/resolve/main/README.md
- Command line
-
hf download hf://zealerx/emotion2vec_plus_large-mlx/README.md
-
curl -L -o README.md https://huggingface.co/zealerx/emotion2vec_plus_large-mlx/resolve/main/README.md
1.26 kB
| license: other | |
| license_name: funasr-model-license | |
| license_link: LICENSE | |
| library_name: mlx | |
| pipeline_tag: audio-classification | |
| tags: | |
| - mlx | |
| - apple-silicon | |
| - speech-emotion-recognition | |
| base_model: emotion2vec/emotion2vec_plus_large | |
| # emotion2vec+ large for MLX | |
| Speech emotion recognition (9 classes): emotion2vec+ large (emotion2vec, data2vec 2.0) in MLX. Model name, source and authors retained as the FunASR model licence requires. | |
| Converted from [emotion2vec/emotion2vec_plus_large](https://huggingface.co/emotion2vec/emotion2vec_plus_large) with [speech-mlx](https://github.com/xiaozealer/speech-mlx). Runs without PyTorch. | |
| ## Use | |
| ```bash | |
| pip install "speech-mlx[indextts,dots] @ git+https://github.com/xiaozealer/speech-mlx" | |
| ``` | |
| ```python | |
| from speech_mlx.funasr.emotion2vec import Emotion2vec | |
| print(Emotion2vec.from_pretrained("zealerx/emotion2vec_plus_large-mlx").scores("clip_16k.wav")) | |
| ``` | |
| ## Parity with the original | |
| Scores within 5.5e-7 of FunASR's on the same 16 kHz audio, same top label. | |
| Details: [docs/PARITY.md](https://github.com/xiaozealer/speech-mlx/blob/main/docs/PARITY.md). | |
| ## Licence | |
| The licence of the original model applies (licence file in this repo). Source: emotion2vec by Ziyang Ma et al., via FunASR (Alibaba). | |