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
File size: 10,886 Bytes
ffa0413 | 1 | {"object": "funasr.emotion2vec.Emotion2vecMLX", "fields": {"normalize": true, "local": {"list": [{"tuple": [{"dict": {"w": {"array": "emotion2vec.local.0.0.w"}, "b": null, "stride": 5, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.0.1.0"}, {"array": "emotion2vec.local.0.1.1"}, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.local.1.0.w"}, "b": null, "stride": 2, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.1.1.0"}, {"array": "emotion2vec.local.1.1.1"}, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.local.2.0.w"}, "b": null, "stride": 2, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.2.1.0"}, {"array": "emotion2vec.local.2.1.1"}, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.local.3.0.w"}, "b": null, "stride": 2, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.3.1.0"}, {"array": "emotion2vec.local.3.1.1"}, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.local.4.0.w"}, "b": null, "stride": 2, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.4.1.0"}, {"array": "emotion2vec.local.4.1.1"}, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.local.5.0.w"}, "b": null, "stride": 2, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.5.1.0"}, {"array": "emotion2vec.local.5.1.1"}, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.local.6.0.w"}, "b": null, "stride": 2, "pad": 0, "groups": 1}}, {"tuple": [{"array": "emotion2vec.local.6.1.0"}, {"array": "emotion2vec.local.6.1.1"}, 1e-05]}]}]}, "proj_ln": {"tuple": [{"array": "emotion2vec.proj_ln.0"}, {"array": "emotion2vec.proj_ln.1"}, 1e-05]}, "proj_lin": {"tuple": [{"array": "emotion2vec.proj_lin.0"}, {"array": "emotion2vec.proj_lin.1"}]}, "rel": {"list": [{"tuple": [{"dict": {"w": {"array": "emotion2vec.rel.0.0.w"}, "b": {"array": "emotion2vec.rel.0.0.b"}, "stride": 1, "pad": 9, "groups": 16}}, {"tuple": [null, null, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.rel.1.0.w"}, "b": {"array": "emotion2vec.rel.1.0.b"}, "stride": 1, "pad": 9, "groups": 16}}, {"tuple": [null, null, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.rel.2.0.w"}, "b": {"array": "emotion2vec.rel.2.0.b"}, "stride": 1, "pad": 9, "groups": 16}}, {"tuple": [null, null, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.rel.3.0.w"}, "b": {"array": "emotion2vec.rel.3.0.b"}, "stride": 1, "pad": 9, "groups": 16}}, {"tuple": [null, null, 1e-05]}]}, {"tuple": [{"dict": {"w": {"array": "emotion2vec.rel.4.0.w"}, "b": {"array": "emotion2vec.rel.4.0.b"}, "stride": 1, "pad": 9, "groups": 16}}, {"tuple": [null, null, 1e-05]}]}]}, "extra": {"array": "emotion2vec.extra"}, "ctx_norm": {"tuple": [{"array": "emotion2vec.ctx_norm.0"}, {"array": "emotion2vec.ctx_norm.1"}, 1e-05]}, "prenet": {"list": [{"dict": {"qkv": {"tuple": [{"array": "emotion2vec.prenet.0.qkv.0"}, {"array": "emotion2vec.prenet.0.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.prenet.0.o.0"}, {"array": "emotion2vec.prenet.0.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.prenet.0.n1.0"}, {"array": "emotion2vec.prenet.0.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.prenet.0.n2.0"}, {"array": "emotion2vec.prenet.0.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.prenet.0.fc1.0"}, {"array": "emotion2vec.prenet.0.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.prenet.0.fc2.0"}, {"array": "emotion2vec.prenet.0.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.prenet.1.qkv.0"}, {"array": "emotion2vec.prenet.1.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.prenet.1.o.0"}, {"array": "emotion2vec.prenet.1.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.prenet.1.n1.0"}, {"array": "emotion2vec.prenet.1.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.prenet.1.n2.0"}, {"array": "emotion2vec.prenet.1.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.prenet.1.fc1.0"}, {"array": "emotion2vec.prenet.1.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.prenet.1.fc2.0"}, {"array": "emotion2vec.prenet.1.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.prenet.2.qkv.0"}, {"array": "emotion2vec.prenet.2.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.prenet.2.o.0"}, {"array": "emotion2vec.prenet.2.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.prenet.2.n1.0"}, {"array": "emotion2vec.prenet.2.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.prenet.2.n2.0"}, {"array": "emotion2vec.prenet.2.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.prenet.2.fc1.0"}, {"array": "emotion2vec.prenet.2.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.prenet.2.fc2.0"}, {"array": "emotion2vec.prenet.2.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.prenet.3.qkv.0"}, {"array": "emotion2vec.prenet.3.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.prenet.3.o.0"}, {"array": "emotion2vec.prenet.3.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.prenet.3.n1.0"}, {"array": "emotion2vec.prenet.3.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.prenet.3.n2.0"}, {"array": "emotion2vec.prenet.3.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.prenet.3.fc1.0"}, {"array": "emotion2vec.prenet.3.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.prenet.3.fc2.0"}, {"array": "emotion2vec.prenet.3.fc2.1"}]}}}]}, "blocks": {"list": [{"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.0.qkv.0"}, {"array": "emotion2vec.blocks.0.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.0.o.0"}, {"array": "emotion2vec.blocks.0.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.0.n1.0"}, {"array": "emotion2vec.blocks.0.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.0.n2.0"}, {"array": "emotion2vec.blocks.0.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.0.fc1.0"}, {"array": "emotion2vec.blocks.0.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.0.fc2.0"}, {"array": "emotion2vec.blocks.0.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.1.qkv.0"}, {"array": "emotion2vec.blocks.1.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.1.o.0"}, {"array": "emotion2vec.blocks.1.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.1.n1.0"}, {"array": "emotion2vec.blocks.1.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.1.n2.0"}, {"array": "emotion2vec.blocks.1.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.1.fc1.0"}, {"array": "emotion2vec.blocks.1.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.1.fc2.0"}, {"array": "emotion2vec.blocks.1.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.2.qkv.0"}, {"array": "emotion2vec.blocks.2.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.2.o.0"}, {"array": "emotion2vec.blocks.2.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.2.n1.0"}, {"array": "emotion2vec.blocks.2.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.2.n2.0"}, {"array": "emotion2vec.blocks.2.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.2.fc1.0"}, {"array": "emotion2vec.blocks.2.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.2.fc2.0"}, {"array": "emotion2vec.blocks.2.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.3.qkv.0"}, {"array": "emotion2vec.blocks.3.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.3.o.0"}, {"array": "emotion2vec.blocks.3.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.3.n1.0"}, {"array": "emotion2vec.blocks.3.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.3.n2.0"}, {"array": "emotion2vec.blocks.3.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.3.fc1.0"}, {"array": "emotion2vec.blocks.3.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.3.fc2.0"}, {"array": "emotion2vec.blocks.3.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.4.qkv.0"}, {"array": "emotion2vec.blocks.4.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.4.o.0"}, {"array": "emotion2vec.blocks.4.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.4.n1.0"}, {"array": "emotion2vec.blocks.4.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.4.n2.0"}, {"array": "emotion2vec.blocks.4.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.4.fc1.0"}, {"array": "emotion2vec.blocks.4.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.4.fc2.0"}, {"array": "emotion2vec.blocks.4.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.5.qkv.0"}, {"array": "emotion2vec.blocks.5.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.5.o.0"}, {"array": "emotion2vec.blocks.5.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.5.n1.0"}, {"array": "emotion2vec.blocks.5.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.5.n2.0"}, {"array": "emotion2vec.blocks.5.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.5.fc1.0"}, {"array": "emotion2vec.blocks.5.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.5.fc2.0"}, {"array": "emotion2vec.blocks.5.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.6.qkv.0"}, {"array": "emotion2vec.blocks.6.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.6.o.0"}, {"array": "emotion2vec.blocks.6.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.6.n1.0"}, {"array": "emotion2vec.blocks.6.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.6.n2.0"}, {"array": "emotion2vec.blocks.6.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.6.fc1.0"}, {"array": "emotion2vec.blocks.6.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.6.fc2.0"}, {"array": "emotion2vec.blocks.6.fc2.1"}]}}}, {"dict": {"qkv": {"tuple": [{"array": "emotion2vec.blocks.7.qkv.0"}, {"array": "emotion2vec.blocks.7.qkv.1"}]}, "o": {"tuple": [{"array": "emotion2vec.blocks.7.o.0"}, {"array": "emotion2vec.blocks.7.o.1"}]}, "h": 16, "scale": 0.125, "n1": {"tuple": [{"array": "emotion2vec.blocks.7.n1.0"}, {"array": "emotion2vec.blocks.7.n1.1"}, 1e-05]}, "n2": {"tuple": [{"array": "emotion2vec.blocks.7.n2.0"}, {"array": "emotion2vec.blocks.7.n2.1"}, 1e-05]}, "fc1": {"tuple": [{"array": "emotion2vec.blocks.7.fc1.0"}, {"array": "emotion2vec.blocks.7.fc1.1"}]}, "fc2": {"tuple": [{"array": "emotion2vec.blocks.7.fc2.0"}, {"array": "emotion2vec.blocks.7.fc2.1"}]}}}]}, "out": {"tuple": [{"array": "emotion2vec.out.0"}, {"array": "emotion2vec.out.1"}]}, "n_extra": 10, "heads": 16, "alibi_scale": {"numpy": "emotion2vec.alibi_scale"}, "compiled": true, "_bias": {"dict": {}}}} |