[Lane 5 · docs] tokenizer.json parity — maturity gate bullet, one documented entry point, tokenizer.json ↔ GGUF field mapping
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- kotlin
- Ambito
- documentation
Direzione di ricerca
Inizia dalle tre pagine AsciiDoc indicate: docs/modules/ROOT/pages/how-to/add-model.adoc, reference/tokenizer-api.adoc e explanation/tokenizer-internals.adoc. Leggi i file factory Kotlin per confermare il punto di ingresso documentato e usa .github/workflows/docs.yml per trovare il comando di build della documentazione. Il lavoro è completo quando il gate di maturità rimanda al golden test e al generatore, la pagina dell’API identifica i percorsi preferito e legacy con link alle issue, la pagina degli internals contiene la mappatura dei campi richiesta e il risultato viene riportato su #471.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Sub-issue of #471 (tokenizer.json parity gate).
Lane: 5 · Docs
Skill needed: AsciiDoc. You should be able to read the two Kotlin factory files to describe what they do; no build knowledge.
Size: xs–s (an hour or two)
Blocked by: nothing; update once the Lane 2 PRs merge.
What to do
- add-model.adoc §6 "The maturity gate": add a bullet "Tokenizer golden parity vs Hugging Face
tokenizers" — a golden JSON undertests/tokenizer-goldens/for the family'stokenizer.json, replayed byTokenizerJsonGoldenParityTest(Lane 4), passing for the entry point the family actually uses. Point to the script that generates it. - reference/tokenizer-api.adoc: it presents
GGUFTokenizerfirst and listsGGUFTokenizer.fromTokenizerJsonas the way to load atokenizer.json. Rewrite the "Implementations" section so thatTokenizerFactoryis the documented entry point,GGUFTokenizer.fromTokenizerJsonis marked as the legacy path used by the SafeTensors CLIs with a link to #330, and the known divergences (from #471) are listed with their issue links. - explanation/tokenizer-internals.adoc: add a short "tokenizer.json vs GGUF metadata" subsection — which fields map to which (
model.merges↔tokenizer.ggml.merges,added_tokens↔token_typeCONTROL/USER_DEFINED,pre_tokenizer.Metaspace.prepend_scheme↔tokenizer.ggml.add_space_prefix), and thatpost_processoris not applied (callers add BOS/EOS). - Build the docs with the repo's Antora setup if you can (
.github/workflows/docs.ymlshows the command); otherwise a careful GitHub preview is acceptable for a first PR.
Acceptance
- Maturity gate lists the tokenizer golden with a link to the test and the script
-
tokenizer-api.adocnames one preferred entry point and links #330 and #471 - Field mapping table in
tokenizer-internals.adoc - Result reported back on #471
Notes
The engine repo is adding a tokenizer.json support matrix page (SKaiNET#1321, docs lane). Link to it rather than duplicating which normalizers / pre-tokenizers the engine supports.
- Lingua principale
- Kotlin
- Stelle
- 8
- Fork
- 3
- Merge medio
- 19h 45m
- PR unite (30g)
- 38
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SKaiNET-developers/SKaiNET-transformers
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
SKaiNET-developers/SKaiNET-transformers#483 ·
I maintainer di solito rispondono entro 1 giorno
-
coding good first issue size:s skill:kotlin-core sub-issue
Difficoltà 4/5 1-2 giorni Idoneità per principianti 64/100
SKaiNET-developers/SKaiNET-transformers#477 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
coding good first issue size:s skill:numerics sub-issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
SKaiNET-developers/SKaiNET-transformers#476 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
moonshine stream: the final encoder window is zero-padded and the encoder has no attention maskAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
SKaiNET-developers/SKaiNET-transformers#458 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
SKaiNET-developers/SKaiNET-transformers#410 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SKaiNET-developers/SKaiNET-transformers
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
"Check mod" buttonApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
yairm210/Unciv#15803 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement triaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
bug follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
bug 🐞 CI/CD ⚒️
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
valkey-io/valkey-glide#7370 ·
I maintainer di solito rispondono entro 1 giorno