[Lane 5 · docs] tokenizer.json parity — maturity gate bullet, one documented entry point, tokenizer.json ↔ GGUF field mapping
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- kotlin
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với ba trang AsciiDoc được nêu: docs/modules/ROOT/pages/how-to/add-model.adoc, reference/tokenizer-api.adoc và explanation/tokenizer-internals.adoc. Đọc các tệp factory Kotlin để xác nhận entry point được ghi trong tài liệu và dùng .github/workflows/docs.yml để tìm lệnh build tài liệu. Công việc được xem là hoàn tất khi maturity gate liên kết đến golden test và generator, trang API nêu các đường dẫn được ưu tiên và legacy kèm liên kết đến issue, trang internals có phần ánh xạ trường được yêu cầu và kết quả được báo cáo trên #471.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 8
- Fork
- 3
- Merge trung bình
- 12 giờ 43 phút
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SKaiNET-developers/SKaiNET-transformers
-
enhancement skill:kotlin-core
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
SKaiNET-developers/SKaiNET-transformers#502 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Moonshine streaming: zero-audio frontend context at the utterance start corrupts transcriptsCó thể đã có người làm @michalharakal đã nhận 1 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
SKaiNET-developers/SKaiNET-transformers#500 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
SKaiNET-developers/SKaiNET-transformers#483 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
coding good first issue size:s skill:kotlin-core sub-issue
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 64/100
SKaiNET-developers/SKaiNET-transformers#477 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
coding good first issue size:s skill:numerics sub-issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
SKaiNET-developers/SKaiNET-transformers#476 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SKaiNET-developers/SKaiNET-transformers
Issue tương tự
-
[Submission] 悠悠有品Đang mởsubmit-adaption submit-adaption-pre
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
BetterAndroid/android-notification-icon-project#763 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
scarif-labs/horus#61 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
damontecres/Wholphin#2093 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
FossifyOrg/Messages#929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cr:missing-repro cr:platform:android missing-repro platform:android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
software-mansion/react-native-screens#4950 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày