Shikiji is an experimental single-character classifier for kuzushiji, hentaigana, cursive Chinese/Japanese character forms, and related handwritten or calligraphic glyphs.
Current release: v0.0.2
Hugging Face model repository: kwadraten/shikiji
Files
The current release keeps active artifacts at the repository root:
supervised_pretrain_checkpoint.pt: PyTorch checkpoint with model weights and training report.
These metrics are from the internal validation split of the training cache. They are not a replacement for cross-model benchmark evaluation under a fixed shared test protocol.
Data Notes
The training pool combines Japanese kuzushiji sources and Chinese calligraphy auxiliary data. Label normalization repairs known mojibake in Chinese calligraphy zip paths and maps single-character labels to U+XXXX ids.
Hentaigana and normalized kana require separate evaluation. Some sources use modern hiragana labels for glyphs that may visually resemble variant kana, so downstream evaluation should distinguish variant-level labels from normalized-kana labels.
Deployment Notes
Use the metadata JSON beside each ONNX file to recover labels, decoded characters, Unicode names, preprocessing, model name, and output names.
The ONNX classifier is appropriate for top-k candidate generation. The embedding ONNX is intended for similarity search, retrieval, clustering, and nearest-neighbor inspection.
Changelog
v0.0.2
Strengthened hentaigana / variant-kana support with replay-weighted kwadraten/ninjal-hentaigana and variant-kana samples.
Added validation reporting by label group, including dedicated variant_kana top-k metrics.
Exported refreshed classifier and embedding ONNX artifacts from the replay-trained checkpoint.
v0.0.1
Initial public release of the all-source rebuilt ConvNeXt-Tiny classifier.