

Automatically translated from Japanese by AI
This is a translation application using a local LLM. You select a GGUF file, choose the source and target languages, input text, and press the Translate button. If the model supports those languages, it will translate for you. The application uses Rust and Python—Rust handles the main processing and GUI, while Python handles LLM-related operations.
Of course, you can change various parameters like temperature and top_p/k, as well as the system prompt from the app side. You can add translation languages and configure the model and app settings by editing config.yaml.
If you don't add fonts, the translation will display as □□□ and so on, so please place TTF or OTF files in the fonts folder and set the language and font file paths in fonts.yaml.
# fonts.yaml example
Japanese: "fonts/NotoSansJP-VariableFont_wght.ttf"
English: "fonts/NotoSans-VariableFont_wdth,wght.ttf"Additionally, as a bonus feature, it uses the TTS (Text to Speech) model Kokoro-82M. This enables voice generation for some languages including Japanese and English. (For long text, I handled it by splitting by tokens and concatenating them afterward.) For languages not supported by Kokoro-82M, while pre-downloading is required, voice generation uses the OS standard text-to-speech functionality. I'm not considering support for anything other than Kokoro-82M. Since voice generation is just a bonus feature, please don't expect too much from it.
※The name "3LM" is just an abbreviation of LocalLLM. Since it's LLM, it becomes 3LM.
Reactions & commentsFeedback
Share your thoughts, bug reports, or suggestions directly with the developer
Log in to share your feedback
Log in to leave feedback