speaker-vector-onnx

#1
Files changed (1) hide show
  1. README.md +3 -67
README.md CHANGED
@@ -1,67 +1,3 @@
1
- ---
2
- license: other
3
- license_name: see-per-model-licences
4
- license_link: https://huggingface.co/AlphaAvatar/persona-speaker-attribute-onnx/blob/main/LICENSE
5
- tags:
6
- - onnx
7
- - legacy
8
- pipeline_tag: audio-classification
9
- ---
10
-
11
- # AlphaAvatar Plugins Persona — LEGACY INDEX
12
-
13
- > **This repository is legacy and is no longer the distribution point for the
14
- > Persona ONNX models.** Branch-based model storage has been replaced by one
15
- > repository per model. Nothing here has been deleted: every branch, artifact
16
- > and commit is preserved exactly as it was.
17
-
18
- ## Where the models live now
19
-
20
- | model | new repository | version tag | commit |
21
- |---|---|---|---|
22
- | speaker vector (ERes2NetV2, 192-d embedding) | [`AlphaAvatar/persona-speaker-vector-onnx`](https://huggingface.co/AlphaAvatar/persona-speaker-vector-onnx) | `v1.0.0` | `1899db09a40a60472681f07a189188517f515b4b` |
23
- | speaker attribute (wav2vec2-large-robust 6L age/gender) | [`AlphaAvatar/persona-speaker-attribute-onnx`](https://huggingface.co/AlphaAvatar/persona-speaker-attribute-onnx) | `v1.0.0` | `3174195619187307495d5fa782a87dac86c5ddec` |
24
-
25
- Pin the **commit**, not the tag or `main`.
26
-
27
- ## Legacy layout (preserved, do not use for new integrations)
28
-
29
- | branch | commit | file | SHA256 (= Git-LFS oid) |
30
- |---|---|---|---|
31
- | `speaker_vector_onnx` | `8bb7633a3c0116ca68b0de476c65285c7820a1dd` | `eres2netv2.onnx` | `a8614dde1e71f5091ce35e031de672d4d87fe1dd839ffe968867febec67e8123` |
32
- | `speaker_attribute_onnx` | `530618cc4ebd8c1aa2a995fc12a180d594535d3f` | `w2v2l6.onnx` | `75c5cc3debc2013215cee5f331a66b59bd7205da170fb61abab46fc4507df7be` |
33
-
34
- The files in the new repositories are **byte-identical** to these; they were
35
- renamed to `model.onnx` and nothing else changed. The SHA256 values above are
36
- unchanged in the new repositories, so the migration is verifiable without
37
- downloading both copies.
38
-
39
- ## Licence correction
40
-
41
- The front matter of this repository previously declared `license: apache-2.0`
42
- for both branches. That is correct for the speaker-vector model but **not** for
43
- the speaker-attribute model:
44
-
45
- * **speaker vector** — derived from ModelScope
46
- [`iic/speech_eres2netv2_sv_zh-cn_16k-common`](https://www.modelscope.cn/models/iic/speech_eres2netv2_sv_zh-cn_16k-common),
47
- **Apache-2.0**. Verified: three un-mangled ONNX initializers
48
- (`layer3_ds.weight`, `seg_1.weight`, `seg_1.bias`) are bit-identical to the
49
- upstream checkpoint.
50
- * **speaker attribute** — derived from
51
- [`audeering/wav2vec2-large-robust-6-ft-age-gender`](https://huggingface.co/audeering/wav2vec2-large-robust-6-ft-age-gender),
52
- **CC-BY-NC-SA-4.0 (non-commercial)**. Verified: all 102 name-matched ONNX
53
- initializers are bit-identical to the upstream checkpoint, and the known-answer
54
- output published on the upstream model card is reproduced to 1.13e-06.
55
-
56
- The new repositories carry the correct per-model licence, `LICENSE` and `NOTICE`.
57
- See `AlphaAvatar/persona-speaker-attribute-onnx` for the non-commercial-use
58
- consequences.
59
-
60
- ## Behavioural notes carried over to the new repositories
61
-
62
- The speaker-attribute model has two behaviours that are easy to get wrong and are
63
- documented in full in its new repository:
64
-
65
- 1. `logits_gender` are **raw logits**, not probabilities — the upstream PyTorch
66
- `forward()` softmaxes them, the ONNX export does not.
67
- 2. The gender index order is **`[child, female, male]`**.
 
1
+ ---
2
+ license: apache-2.0
3
+ ---