tiny-autocomplete / compile_settings.json
tmickleydoyle's picture
Confidence-gated ghost text for coding prompts: Kneser-Ney compile, 4.5 MB browser export + zero-dep runtime, held-out precision/keystrokes-saved benchmarks
4113449 verified
Raw History Blame Contribute Delete
674 Bytes
{
"_comment": "Chosen by scripts/sweep.py (docs/sweep.json): best keystrokes saved at >= 90% precision on held-out prompts. hf = dense transformers model (vocab capped for width); web = sparse browser export.",
"hf": {
"n_prev": 3,
"smoothing": "kn",
"phrase_weight": 1.0,
"prompt_weight": 1.0,
"reply_weight": 1.0,
"max_vocab": 3000,
"min_count": null,
"param_target": 400000000
},
"web": {
"n_prev": 3,
"smoothing": "kn",
"phrase_weight": 1.0,
"prompt_weight": 1.0,
"reply_weight": 1.0,
"max_vocab": 8000,
"min_count": 2
},
"policy": {
"tau": 0.72,
"min_support": 0,
"max_words": 8
}
}