[Lane 5 · docs] tokenizer.json parity — maturity gate bullet, one documented entry point, tokenizer.json ↔ GGUF field mapping
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- kotlin
調査の方向性
指定された3つのAsciiDocページから始めます: docs/modules/ROOT/pages/how-to/add-model.adoc、reference/tokenizer-api.adoc、explanation/tokenizer-internals.adoc。Kotlinのfactoryファイルを読み、ドキュメントに記載されたエントリーポイントを確認し、.github/workflows/docs.ymlを使ってドキュメントのビルドコマンドを見つけます。maturity gateからgolden testとgeneratorへのリンクがあり、APIページで推奨パスとlegacyパスがissueリンク付きで示され、internalsページに要求されたフィールドの対応付けがあり、結果が#471で報告されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Kotlin
- スター
- 8
- フォーク
- 3
- 平均マージ
- 19時間 45分
- マージ済み PR(30日)
- 38
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SKaiNET-developers/SKaiNET-transformers のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
SKaiNET-developers/SKaiNET-transformers#483 ·
メンテナーはふだん 1 日以内に返信
-
coding good first issue size:s skill:kotlin-core sub-issue
難易度 4/5 1〜2日 初心者へのやさしさ 64/100
SKaiNET-developers/SKaiNET-transformers#477 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
coding good first issue size:s skill:numerics sub-issue
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
SKaiNET-developers/SKaiNET-transformers#476 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
moonshine stream: the final encoder window is zero-padded and the encoder has no attention maskオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
SKaiNET-developers/SKaiNET-transformers#458 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
SKaiNET-developers/SKaiNET-transformers#410 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
SKaiNET-developers/SKaiNET-transformers の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement triaged
難易度 1/5 1時間未満 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
bug follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug 🐞 CI/CD ⚒️
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#7370 ·
メンテナーはふだん 1 日以内に返信
-
binding:web core docs p3
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
RunanywhereAI/runanywhere-sdks#1123 ·
メンテナーはふだん 1 日以内に返信