No description
The Decode method strips the SentencePiece leading space from every token, which loses word boundaries during streaming. DecodeToken preserves the space (it represents the word boundary) and only the first token of each generation has its leading space stripped. Fixes Gemma3 space prefix appearing in chat UI output. Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| agentic | ||
| ai | ||
| mcp | ||
| ml | ||
| mlx | ||
| rag | ||
| go.mod | ||
| go.sum | ||
| test-mlx.go | ||
| TEST-RESULTS.md | ||