zealerx's picture
Model card and licence
fca0cfd verified
|
Raw History Blame Contribute Delete
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).