Distills calibrated word frequencies from open-weight language models into dictionaries for the Rime input method, improving how candidates are ordered when typing Chinese, all computed offline with no runtime cost.
C++Created
What is mizorewww/rime-qwen-freq?
rime-qwen-freq builds word-frequency data for Rime, the input method engine, from causal language models. The README describes three steps: offline unigram word-frequency calibration, a Bayesian domain log-odds boost that favours words from chosen subject areas, and PMI distillation into .gram files, which store how often words follow one another. It has zero runtime dependencies.
Ready-made tables are provided on the releases page, including dictionaries for AI and computing terms, Chinese Wikipedia, Chinese Wiktionary, Moegirl, web slang and mixed Wanxiang data, along with English tables from rime_ice. A design post explains the method. The README is in English and Simplified Chinese.
It suits Rime users who want suggestions tuned to their vocabulary, and developers interested in using language models to build input method dictionaries.
An end-to-end open-source platform for building, training and deploying machine learning models, from research experiments to production on servers, mobile devices and browsers. Created by Google and widely used across industry and academia.
A C/C++ engine for running large language models efficiently on ordinary hardware, from laptops to servers, with quantization, GPU acceleration and an OpenAI-compatible server. Many local AI apps are built on top of it.
A framework from Meta for building native Android and iOS apps using React and JavaScript. Components render to real platform views, so you share most code across platforms while keeping native performance and feel.
A framework for building cross-platform desktop applications with JavaScript, HTML and CSS by combining Chromium and Node.js. VS Code, Slack and Discord are among the apps built on it.