ylankgz commited on
Commit
11bec2e
·
verified ·
1 Parent(s): 5412a7b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -21
README.md CHANGED
@@ -51,19 +51,13 @@ on a phone call:
51
 
52
  - this model is its ears: it transcribes you, and knows when you've finished,
53
  when you cut in, and when to say "mm-hm";
54
- - Gemma 4 E4B writes the replies, VoxCPM2 speaks them in a cloned voice, and a
55
- hosted model can take the hard questions;
56
- - it runs on one NVIDIA GPU with 32GB VRAM, for up to 4 conversations
57
- at once, and answers ~0.7 s after you stop speaking;
58
  - it comes as a [Docker image](https://github.com/nineninesix-ai/tyger-s2s#docker),
59
  and can be the voice backend of
60
  [your own web app](https://github.com/nineninesix-ai/tyger-s2s#api-mode-tyger-behind-your-own-app).
61
 
62
  To run the model in your own code, start from tyger-s2s's runtime
63
- ([`app/plugins/ears/tyger/`](https://github.com/nineninesix-ai/tyger-s2s/tree/main/app/plugins/ears/tyger)):
64
- it checks the files against the SHA-256s in `config.json`, makes sure every
65
- tensor loads, and serves several conversations on one GPU. Transformers'
66
- `AutoModel` and `pipeline` can't load this model.
67
 
68
  ## The model
69
 
@@ -74,21 +68,15 @@ tensor loads, and serves several conversations on one GPU. Transformers'
74
  | Parameters | 652M: 638M Nemotron + 14M GRU, in FP32 (2.61 GB) |
75
  | Input | two aligned mono 16 kHz streams: the user's mic and the agent's playback |
76
  | Features | Nemotron's layer 15 (1,024 dims), one frame per 80 ms, no lookahead |
77
- | Streaming | 320 ms hops; Nemotron re-encodes an 8 s window per stream at each hop |
78
  | Output, per frame | the turn state (listen, hold, speak, backchannel) and hazard, barge-in, backchannel and endpoint scores |
79
  | State per conversation | 9 KiB of GRU state, besides the audio windows |
80
- | Language | English: the GRU was trained and tested on English only |
81
 
82
- This repo holds weights and configs, no code. The weights have two namespaces:
83
- `nemotron.*` (its configs, processor and tokenizer are in `nemotron/`) and
84
- `turn_taker.*`. `config.json` describes both, with the default event policy.
85
- Nemotron comes inside: no separate download, and it runs offline. Keep both
86
- parts in FP32 with TF32 off: half precision and quantization aren't tested.
87
 
88
  ## Events
89
 
90
- An event fires when its score stays over the threshold for 2 frames in a row:
91
-
92
  | Event | When | The app | Default threshold |
93
  | --- | --- | --- | ---: |
94
  | Endpoint | the user has finished | answers | 0.91 |
@@ -121,7 +109,7 @@ and [metrics.json](evaluation/metrics.json) every number.
121
 
122
  ![Endpoint latency, early cut-ins and misses across three evaluation sets](assets/endpoint-evaluation.png)
123
 
124
- **Endpoints,** with the 1.2 s silence fallback:
125
 
126
  | Set | Turns | Latency, median / mean | Early cut-ins | No endpoint within 1.2 s | Pauses with a false endpoint |
127
  | --- | ---: | ---: | ---: | ---: | ---: |
@@ -129,10 +117,10 @@ and [metrics.json](evaluation/metrics.json) every number.
129
  | Full-Duplex-Bench v1.0, CANDOR | 119 | 307.5 / 383.0 ms | 25.21% | 5.04% | 123 of 277 |
130
  | Internal, not public | 242 | 252.5 / 286.5 ms | 12.40% | 0.00% | 186 of 539 |
131
 
132
- Latency runs from the end of the user's turn, and counts only endpoints that
133
  fired: read it with the early cut-ins (an endpoint before the turn really
134
- ended) and the misses. The sets differ, so don't rank them against each other.
135
- With the fallback off, Open Yap's mean latency is 436.5 ms, and 16.0% of turns
136
  get no endpoint within 1.2 s.
137
 
138
  **Turn state, barge-in and backchannel** (Open Yap 1K test):
 
51
 
52
  - this model is its ears: it transcribes you, and knows when you've finished,
53
  when you cut in, and when to say "mm-hm";
54
+ - LLM writes the replies, TTS speaks them in a cloned voice;
 
 
 
55
  - it comes as a [Docker image](https://github.com/nineninesix-ai/tyger-s2s#docker),
56
  and can be the voice backend of
57
  [your own web app](https://github.com/nineninesix-ai/tyger-s2s#api-mode-tyger-behind-your-own-app).
58
 
59
  To run the model in your own code, start from tyger-s2s's runtime
60
+ ([`app/plugins/ears/tyger/`](https://github.com/nineninesix-ai/tyger-s2s/tree/main/app/plugins/ears/tyger)).
 
 
 
61
 
62
  ## The model
63
 
 
68
  | Parameters | 652M: 638M Nemotron + 14M GRU, in FP32 (2.61 GB) |
69
  | Input | two aligned mono 16 kHz streams: the user's mic and the agent's playback |
70
  | Features | Nemotron's layer 15 (1,024 dims), one frame per 80 ms, no lookahead |
71
+ | Streaming | 320 ms hops; Nemotron re-encodes 8s window per stream at each hop |
72
  | Output, per frame | the turn state (listen, hold, speak, backchannel) and hazard, barge-in, backchannel and endpoint scores |
73
  | State per conversation | 9 KiB of GRU state, besides the audio windows |
74
+ | Language | English |
75
 
76
+ This repo holds weights and configs, no inference code.
 
 
 
 
77
 
78
  ## Events
79
 
 
 
80
  | Event | When | The app | Default threshold |
81
  | --- | --- | --- | ---: |
82
  | Endpoint | the user has finished | answers | 0.91 |
 
109
 
110
  ![Endpoint latency, early cut-ins and misses across three evaluation sets](assets/endpoint-evaluation.png)
111
 
112
+ **Endpoints,**:
113
 
114
  | Set | Turns | Latency, median / mean | Early cut-ins | No endpoint within 1.2 s | Pauses with a false endpoint |
115
  | --- | ---: | ---: | ---: | ---: | ---: |
 
117
  | Full-Duplex-Bench v1.0, CANDOR | 119 | 307.5 / 383.0 ms | 25.21% | 5.04% | 123 of 277 |
118
  | Internal, not public | 242 | 252.5 / 286.5 ms | 12.40% | 0.00% | 186 of 539 |
119
 
120
+ - Latency runs from the end of the user's turn, and counts only endpoints that
121
  fired: read it with the early cut-ins (an endpoint before the turn really
122
+ ended) and the misses.
123
+ - With the fallback off, Open Yap's mean latency is 436.5 ms, and 16.0% of turns
124
  get no endpoint within 1.2 s.
125
 
126
  **Turn state, barge-in and backchannel** (Open Yap 1K test):