nogoji-proofread-gguf
macOS のメニューバーアプリ「nogoji」で使う、日本語の文章を直すモデルです。nogoji は、選んだ文章の誤りを手元の Mac だけで直します。
概要
- 用途: 日本語の文章にある打ち間違い(キーの押し間違い、文字の抜け、余分な文字)を直します。漢字の変換ミスは、nogoji の別の部品(zenz-v3.2-small)が直します。
- 元のモデル: sbintuitions/sarashina2.2-1b-instruct-v0.1(SB Intuitions、MIT)。
- 作り方: 元のモデルを LoRA(少しの追加パラメータだけを学習する方法)で追加学習しました。学習した差分を元のモデルに統合(マージ)し、llama.cpp で GGUF の Q8_0(8 ビット量子化)に変換しました。
- 使う場所: nogoji アプリの中です。ほかの用途に向けた調整はしていません。
ファイル
| ファイル | サイズ(バイト) | SHA-256 |
|---|---|---|
nogoji-proofread-v1-Q8_0.gguf | 1498332544 | 985e327c735b488c71afd94a6db370e9bdec1c850ed46db89ff99bd78785fa20 |
nogoji は初回起動のとき、利用者が同意してから、このファイルをダウンロードします。ダウンロード後に SHA-256 を確かめ、一致しなければ使いません。
手で確かめるときは、次のコマンドを実行します。
shasum -a 256 nogoji-proofread-v1-Q8_0.gguf
学習データ
- Qwen3.5-4B(Apache-2.0)を使い、手元の Mac で日本語の文を約 1 万文作りました。
- それぞれの文に、ローマ字入力やかな入力の打ち間違いを機械的に入れました。
- この「誤りを入れた文」と「元の文」の組で、LoRA を学習しました。
- このデータは公開していません。
nogoji からの呼び出し方
nogoji は、次の会話の形でモデルに文章を渡します。Sarashina のチャットテンプレートと同じ形です。
<|system|>{指示文}</s><|user|>{入力した文章}</s><|assistant|>
指示文は次の内容です。
入力された文章の打ち間違い(キーの押し間違い、文字の抜け、余分な文字)だけを直し、直した文章だけを出力してください。それ以外は一字も変えないでください。誤りがなければ、入力をそのまま出力してください。
- 文頭の BOS トークンは付けません。
- モデルは、直した文章だけを返します。
- 学習のときと同じ指示文を使わないと、期待した動きになりません。
制限事項
- 約 10 億パラメータの小さなモデルです。
- 正しい文章を、誤って書き換えることがあります。
- 誤りを見逃すことがあります。
- 出力は必ず自分の目で確かめてから使ってください。
ライセンス
- このモデル: MIT ライセンス、Copyright (c) 2026 ykich
- 元のモデル(sbintuitions/sarashina2.2-1b-instruct-v0.1): MIT ライセンス、Copyright (c) 2025 SB Intuitions
MIT ライセンスは、ソフトウェアの複製や主要な部分に、著作権表示と許諾文を付けることを求めます。そのため、元のモデルの MIT ライセンスの全文を次に載せます。
MIT License
Copyright (c) 2025 SB Intuitions
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
このモデル自体の MIT ライセンスの全文も載せます。
MIT License
Copyright (c) 2026 ykich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
English summary
This is the Japanese proofreading model used by nogoji, a macOS menu-bar app. It fixes typing errors (mistyped, missing or extra characters) in selected Japanese text, locally on the Mac. Wrong-kanji conversion errors are handled by another part of nogoji (zenz-v3.2-small).
- Base model: sbintuitions/sarashina2.2-1b-instruct-v0.1 by SB Intuitions (MIT).
- Method: LoRA fine-tune, merged into the base model and converted to GGUF Q8_0 with llama.cpp.
- Training data: about 10,000 Japanese sentences generated locally with Qwen3.5-4B (Apache-2.0). Romaji and kana typing errors were injected synthetically. The data is not published.
- File:
nogoji-proofread-v1-Q8_0.gguf(1498332544 bytes, SHA-256985e327c735b488c71afd94a6db370e9bdec1c850ed46db89ff99bd78785fa20). nogoji downloads it on first run after the user consents, and checks the SHA-256. - Limitations: this is a small 1B model. It may change correct text or miss errors. Always review the output.
- License: MIT, Copyright (c) 2026 ykich for the fine-tune. The base model's MIT notice (Copyright (c) 2025 SB Intuitions) is included above.