pyuino
pyuino は LLM の仕組みを利用したかな漢字変換です
厳密には Qwen3 モデルがベースになっていますが、入出力が変わっているため llama.cpp 等では 動かない ことを確認済みです
まだお試し版です。まともに動かないです。
インストール
PyPi からインストールできます
pip install pyuino
モデル・辞書ファイルの準備
下記の場所からモデルファイル及び辞書ファイルをダウンロードしてください
※モデル・辞書ファイルは最新版のリリースタグのコードと紐づいており、mainブランチのコードとは互換性がない場合もあります
https://www.dropbox.com/scl/fo/03sverk4gsj3l8qmx9ltw/ACueNBsN8EwwSYP18v2a1lQ?rlkey=99ki15e75q3cx9ddmotzgcpah&st=2n8rooyz&dl=0
- config.json
- model.safetensors
- yuino_dict.pb
- pos_id.csv
ダウンロードしたファイルは YuinoLM 下に配置してください
ToyBox の起動
ToyBox は pyuino のデモアプリケーションです
かなを入力すると、変換後のかな漢字を返します
$ pyuino-toybox
INFO: Started server process [21290]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8888 (Press CTRL+C to quit)
→ 起動後に http://localhost:8888 へアクセスするとライブ変換で遊べます。
サーバーの起動
現在 IBus-Anya を利用することを想定します
IBus-Anya 起動前に、下記コマンドでサーバー側を起動してください
docker run -d -p 30055:30055 -v $HOME/.local/share/yuino:/opt/pyuino/YuinoLM ghcr.io/yuino-im/pyuino -m /opt/pyuino/YuinoLM
使用モデル・データセット
Yuino では下記のモデル、及びデータセットを使用して学習しました
(ありがとうございます!!)
辞書
SudachiDict (WorksApplications)
https://github.com/WorksApplications/SudachiDict
データセット
CC100(Japanese)
https://huggingface.co/datasets/range3/cc100-ja
Metadata
Release files for pyuino 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyuino-0.0.13.tar.gz | 28.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyuino-0.0.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.0 kB
Release files / pyuino-0.0.13.tar.gz
| Download URL | pyuino-0.0.13.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2a9cdc90a5e4155d6ca4e005c11a5ba964531a6d47266eef7b1924f1a09db8f
|
|
BLAKE2b-256 checksum How to use checksums |
2a996ff8398d253ef26d4520d81ede33d84623eecb5a0512ec0f5818d4df578e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency logRelease files / pyuino-0.0.13-py3-none-any.whl
| Download URL | pyuino-0.0.13-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dff3e815b743235f309eb4beea2bd03ba5fe2bd56f9430010179faa2c877ff6f
|
|
BLAKE2b-256 checksum How to use checksums |
b4d1ce1e0c7fbb0e00731420c91a5d364f682b8ad68c877f977b36a7f0db17c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency log