Add figures to the card and fix two examples
Browse filesFiles changed (9)
35 unmodified lines36373835 unmodified linestoken-embedding-scales.f32 filter=lfs diff=lfs merge=lfs -texttoken-embeddings.int8 filter=lfs diff=lfs merge=lfs -textCue-0.4B-technical-report.pdf filter=lfs diff=lfs merge=lfs -text35 unmodified lines363738394035 unmodified linestoken-embedding-scales.f32 filter=lfs diff=lfs merge=lfs -texttoken-embeddings.int8 filter=lfs diff=lfs merge=lfs -textCue-0.4B-technical-report.pdf filter=lfs diff=lfs merge=lfs -textfigures/cue-architecture.png filter=lfs diff=lfs merge=lfs -textfigures/cue-languages.png filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:b704435194a78512d49a281ffae3cb1d6786232c801d42126837039a02aea3fdsize 1263691123version https://git-lfs.github.com/spec/v1oid sha256:e01f6e7fa3a6e4acec5d591c4c8ac6041088f50d61b6a93ac9d17c3112fa3f39size 1263715
53 unmodified lines5455565758596061626364657 unmodified lines73747576777816 unmodified lines95969798991001 unmodified line10210310410510610710810931 unmodified lines14114214314414514627 unmodified lines17417517617717817918053 unmodified linesIt answers two questions.**While the assistant is talking**, someone says something. Should it keep going, stop, or treat it as a newrequest? For a request, Cue also points at the word where the request starts, so "okay, okay, and what aboutFriday?" becomes "what about Friday?". A quiet "mm-hm" keeps the assistant talking; "wait, stop" stops it.**When the assistant is idle**, a new turn arrives. Does it need the main model, or is it one of nine things theassistant can answer at once: checking it can hear you, a greeting, thanks, a bare acknowledgement, never mind,hold on, say that again, goodbye, or how are you? Cue sees the assistant's last sentence, so a "yes" or "thanks"that answers its question still goes to the main model.Cue works in 30 languages. The [technical report](Cue-0.4B-technical-report.pdf) covers the data, training and evaluation in full.7 unmodified lines- a **pointer** head over the user's word starts, for where a request begins;- an **intent** head: the main model or one of the nine quick intents.The idea of an action head with a pointer on a small language model comes from[Kev](https://github.com/jaredpalmer/kev) by Jared Palmer. Cue is our own model trained on our own data, and thenew-turn head, the languages and the Neural Engine packaging are new.16 unmodified lines| Missed a request | 4.4% || Request start on the labelled word (requests it got right) | 92.6% || New turns (1,800 examples) | ||---|---|| Right decision | 95.2% |1 unmodified line| Quick intents sent to the main model | 10.4% || Quick intent answered with the wrong one | 0.25% |On an iPhone 17 Pro Max, one forward pass takes about 8 ms on the Neural Engine and about 10 ms while the GPU isbusy generating, and its Core ML files take about 380 MB. On the same tests, all 28 layers score about one point higher.## Using it31 unmodified lines- Answer a quick intent only when its probability is at least `quick_threshold` (0.9); everything else goes to themain model. Orvena asks for 0.97 before a goodbye closes voice mode.### Python`cue.py` builds the prompts and makes the decisions with PyTorch and Transformers:27 unmodified lines| `pointer_logits` | 1 × 128 | per token; use the word starts inside the user's text |`turn-decision.json` holds the thresholds and windows, `tokenizer.json` is Qwen3's tokenizer, and `fixtures.json`and `turn-fixtures.json` are reference decisions for checking a port.## Notes53 unmodified lines545556575859606162636465667 unmodified lines747576777879808116 unmodified lines98991001011021031041051 unmodified line10710810911011111211311411511611711811912012112212312412531 unmodified lines15715815916016116216316427 unmodified lines19219319419519619719819920053 unmodified linesIt answers two questions.**While the assistant is talking**, someone says something. Should it keep going, stop, or treat it as a newrequest? For a request, Cue also points at the word where the request starts, so "hold on, remind me to call thevet at 10" becomes "remind me to call the vet at 10". A quiet "mm-hm" keeps the assistant talking; "wait, stop"stops it.**When the assistant is idle**, a new turn arrives. Does it need the main model, or is it one of nine things theassistant can answer at once: checking it can hear you, a greeting, thanks, a bare acknowledgement, never mind,hold on, asking it to repeat, goodbye, or how are you? Cue sees the assistant's last sentence, so a "yes" or "thanks"that answers its question still goes to the main model.Cue works in 30 languages. The [technical report](Cue-0.4B-technical-report.pdf) covers the data, training and evaluation in full.7 unmodified lines- a **pointer** head over the user's word starts, for where a request begins;- an **intent** head: the main model or one of the nine quick intents.The idea of an action head with a pointer on a small language model comes from[Kev](https://github.com/jaredpalmer/kev) by Jared Palmer. Cue is our own model trained on our own data, and thenew-turn head, the languages and the Neural Engine packaging are new.16 unmodified lines| Missed a request | 4.4% || Request start on the labelled word (requests it got right) | 92.6% || New turns (1,800 examples) | ||---|---|| Right decision | 95.2% |1 unmodified line| Quick intents sent to the main model | 10.4% || Quick intent answered with the wrong one | 0.25% |The test sets have 30 examples per language for interruptions and 60 for new turns, so a single language's scoremoves by a few points with one example:On an iPhone 17 Pro Max, one forward pass takes about 8 ms on the Neural Engine and about 10 ms while the GPU isbusy generating, and its Core ML files take about 380 MB. On the same tests, all 28 layers score about one point higher.The Neural Engine is what keeps it fast while the main model runs: the full 28-layer model on the GPU goes from 42 msto 890 ms once the main model is decoding there.## Using it31 unmodified lines- Answer a quick intent only when its probability is at least `quick_threshold` (0.9); everything else goes to themain model. Orvena asks for 0.97 before a goodbye closes voice mode.### Python`cue.py` builds the prompts and makes the decisions with PyTorch and Transformers:27 unmodified lines| `pointer_logits` | 1 × 128 | per token; use the word starts inside the user's text |`turn-decision.json` holds the thresholds and windows, `tokenizer.json` is Qwen3's tokenizer, and `fixtures.json`and `turn-fixtures.json` are reference decisions from the Core ML package for checking a port. `cue.py` with thefloat weights makes the same decision on 122 of the 123 interruption fixtures and 119 of the 120 new-turn fixtures;the others sit right at a threshold.## Notes
.gitattributes+2
Cue-0.4B-technical-report.pdf+2-2
README.md+24-4
figures/cue-architecture.pngAdded

Large File Pointer Details
- SHA256: 3e894f47dd6a06f34dfcaded47bb15491779094b7130b475315b189f2b6c67af
- Pointer size: 131 Bytes
- Size of remote file: 180 kB
figures/cue-interruptions.pngAdded

figures/cue-languages.pngAdded

Large File Pointer Details
- SHA256: 9eabb64da0e7d6d21e700af28979115a29902149cb53808b1f221a0556cebefc
- Pointer size: 131 Bytes
- Size of remote file: 155 kB
figures/cue-latency.pngAdded

figures/cue-new-turns.pngAdded

figures/cue-pointer.pngAdded
