Run this model with HF Jobs

Run mlx-community/emotion2vec-plus-large-mlx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/mlx-community/emotion2vec-plus-large-mlx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/emotion2vec-plus-large-mlx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

mlx-community/emotion2vec-plus-large-mlx

The emotion2vec+ large speech-emotion-recognition model converted to MLX format for native inference on Apple Silicon, consumed by the xocialize/emotion2vec-mlx-swift Swift port. Refer to the original model card for details.

Model

  • Family: emotion2vec / emotion2vec+ (Ma et al., "emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation," arXiv:2312.15185)
  • Architecture: Data2Vec 2.0 β€” conv feature extractor β†’ transformer encoder β†’ 9-class linear head
  • Output: 9-class categorical emotion (angry, disgusted, fearful, happy, neutral, other, sad, surprised, unknown)
  • Sample rate: 16000 Hz, mono
  • Precision: fp16 (233 tensors)

Files

  • emotion2vec_large.safetensors β€” the MLX weights (fp16).
  • emotion2vec_large_config.json β€” model config consumed by the loader.

Usage (Swift / MLX)

import Emotion2VecMLX
import Hub

let dir = try await HubApi().snapshot(from: "mlx-community/emotion2vec-plus-large-mlx")
let recogniser = try await EmotionRecogniser(weightsDirectory: dir,
                                             config: EmotionRecogniserConfig(models: .categorical))
let result = try await recogniser.classify(audioURL: speechURL)
print(result.categorical.label, result.categorical.confidence)

Source

License

FunASR's custom MODEL_LICENSE β€” permits use, copy, modification, and redistribution with attribution and model-name retention (no-denigration clause, no warranty). Non-SPDX but permissive. See the original license.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for mlx-community/emotion2vec-plus-large-mlx

Finetuned
(2)
this model

Paper for mlx-community/emotion2vec-plus-large-mlx