RakhatM commited on
Commit
b4a7ad7
·
verified ·
1 Parent(s): 6be980d

Add Persona-ASR backbone + presence-gate checkpoints and model card

Browse files
Files changed (4) hide show
  1. README.md +40 -0
  2. asr_backbone.pt +3 -0
  3. config.json +64 -0
  4. presence_gate.pt +3 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language: [kk, en]
4
+ library_name: pytorch
5
+ pipeline_tag: automatic-speech-recognition
6
+ tags: [target-speaker-asr, speech-recognition, kazakh, english, overlapping-speech, wavlm, ctc]
7
+ ---
8
+
9
+ # Persona-ASR
10
+
11
+ Bilingual (Kazakh–English) **target-speaker ASR** for overlapping speech, from the [Persona-ASR](https://github.com/IS2AI/Persona_ASR) project. Given a three-speaker mixture and a short enrollment utterance, the model transcribes only the enrolled target speaker, and rejects the utterance (emitting `<no_target>`) when the target is absent.
12
+
13
+ ## Checkpoints
14
+ - `asr_backbone.pt` — recognizer + activity-detection backbone: a frozen ECAPA-TDNN speaker embedding modulates a WavLM-Base+ encoder via FiLM, feeding two language-specific CTC heads (English/Latin, Kazakh/Cyrillic) and a frame-level VAD head.
15
+ - `presence_gate.pt` — utterance-level target-presence gate (enrollment–mixture matching + speaker-conditioned attention + attentive-statistics pooling), applied on top of the frozen backbone.
16
+ - `config.json` — backbone configuration (vocab sizes, hyperparameters).
17
+
18
+ ## Results (three-speaker test sets)
19
+ | Test set | Raw WER | Gated WER | Detection BAcc |
20
+ |---|---|---|---|
21
+ | English (Libri3Mix-100h) | 29.35 | 36.92 | 80.04 |
22
+ | Kazakh (Kazakh3Mix-100h) | 43.47 | 50.71 | 86.78 |
23
+
24
+ Presence-gate thresholds (calibrated on validation): τ_EN = 0.502, τ_KK = 0.586.
25
+
26
+ ## Training
27
+ Backbone loss L = 0.7·CTC + 0.3·VAD; gate trained with binary cross-entropy on the frozen backbone. Trained on LibriMix (English) and [KazMix-3](https://huggingface.co/datasets/issai/KazMix-3) (Kazakh); also evaluated on [PersonaMix](https://huggingface.co/datasets/issai/PersonaMix).
28
+
29
+ ## Usage
30
+ Inference and evaluation code: [github.com/IS2AI/Persona_ASR](https://github.com/IS2AI/Persona_ASR).
31
+
32
+ ## License and citation
33
+ Released under CC BY 4.0. Please cite Persona-ASR.
34
+
35
+ ```bibtex
36
+ @article{persona_asr,
37
+ title = {Persona-ASR: Bilingual Target-Speaker Speech Recognition for Kazakh--English Overlapping Speech},
38
+ year = {2026}
39
+ }
40
+ ```
asr_backbone.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:428a8c0793b53d04bf140d3465ddd450230effc548b7d5ed3795e5ff32930632
3
+ size 1247306349
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "smoke_test": false,
3
+ "data_root": "/workspace/LibriMix/storage_dir",
4
+ "persona_root": "/workspace/new/data/LibriMix/persona_asr/official_libri3mix_clean_max_16k",
5
+ "train_manifests": [
6
+ "en=/workspace/new/data/LibriMix/persona_asr/official_libri3mix_clean_max_16k/train_clean_100_official_libri3mix_clean_max_16k_posneg.json",
7
+ "kk=/workspace/new/data/LibriMix/persona_asr/kazakh3mix_clean_max_16k_lufsfix/train_clean_100_kazakh3mix_lufsfix_posneg.json"
8
+ ],
9
+ "valid_manifests": [
10
+ "en=/workspace/new/data/LibriMix/persona_asr/official_libri3mix_clean_max_16k/val_official_libri3mix_clean_max_16k_posneg.json",
11
+ "kk=/workspace/new/data/LibriMix/persona_asr/kazakh3mix_clean_max_16k_lufsfix/val_kazakh3mix_lufsfix_posneg.json"
12
+ ],
13
+ "test_manifests": null,
14
+ "run_dir": "/workspace/new/runs/maeda_twohead_lufsfix_fromscratch_20260620",
15
+ "wavlm_name": "microsoft/wavlm-base-plus",
16
+ "epochs": 100,
17
+ "batch_size": 28,
18
+ "lr": 0.0001,
19
+ "lambda_asr": 0.7,
20
+ "lambda_vad": 0.3,
21
+ "neg_vad_weight": 1.0,
22
+ "warmup_steps": 5000,
23
+ "freeze_wavlm_steps": 10000,
24
+ "max_seconds": 20.0,
25
+ "enrollment_seconds": 5.0,
26
+ "vad_threshold": 1e-05,
27
+ "num_workers": 6,
28
+ "train_limit": null,
29
+ "valid_limit": null,
30
+ "seed": 7,
31
+ "resume_from": null,
32
+ "pretrained_backbone": null,
33
+ "finetune_from": null,
34
+ "include_negatives": false,
35
+ "device": "cuda",
36
+ "disable_grad_scaler": false,
37
+ "en_vocab_size": 30,
38
+ "kk_vocab_size": 53,
39
+ "kk_chars_sample": [
40
+ "<pad>",
41
+ "<unk>",
42
+ " ",
43
+ "0",
44
+ "1",
45
+ "2",
46
+ "3",
47
+ "4",
48
+ "5",
49
+ "6",
50
+ "7",
51
+ "9",
52
+ "\u0406",
53
+ "\u0410",
54
+ "\u0411",
55
+ "\u0412",
56
+ "\u0413",
57
+ "\u0414",
58
+ "\u0415",
59
+ "\u0416"
60
+ ],
61
+ "total_steps": 124600,
62
+ "world_size": 2,
63
+ "architecture": "TSASRADTwoHead (WavLM+FiLM+EN_CTC+KK_CTC+VAD)"
64
+ }
presence_gate.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4d4ff3835839216f66b5c99f8d6bd1293b1293ff9749b15bd2a62a6c5278344
3
+ size 2283455