utopia-ia/elffuss-engine public
Changelog
Changes to what this repository publishes. Version numbers start with 0.1.0, the first release; until then everything is listed under Unreleased.
Unreleased
Fixed
- Sampling with a temperature above zero could return the least likely candidate about half of the time, because the random draw fell outside its range; consecutive seeds also gave correlated draws. The draw is now uniform.
js/tokenizer.jsis plain text: three literal NUL characters are written as'\u0000', which is the same string.
Changed
- The sampler follows llama.cpp's order: penalties, top-k, top-p, min-p, then temperature. Top-p and min-p are now computed before the temperature is applied.
- The seed advances with every generated token.
- When the app sets no sampling, the engine uses the one the registry declares for the model, if any; otherwise it
decodes greedily with its default repeat penalty (1.1 over the last 64 tokens).
setSampling()merges into that. - The published tree is the import closure of
js/provider.js(19 modules) and the files around it. The README andpackage.jsonwere rewritten for this repository;package.jsondeclaresApache-2.0 AND MIT, asjs/quant-tables.jsdoes, and listsassets/.
Added
setSampling()acceptsminP,presenceandrepeatPenalty.- Models that reason get an open reasoning block and a reply budget of their own;
setSampling({ razonar })forces reasoning on (true) or off (false), andnullleaves it to the registry. NOTICE, and the complete MIT licence of the ggml authors at the top ofjs/quant-tables.js.
Removed
- The two articles in
docs/, which were in Spanish. They will come back rewritten in English.