Skip to content

New command: llm_translate

Latest
Compare
Choose a tag to compare
@abse4411 abse4411 released this 23 Apr 18:14
· 17 commits to devp since this release

[0.4.5] New command 'llm translate' is available, which uses the OpenAI Endpoint to improve translation quality and reduce translation errors. Usage: llm_translate {index or name} -l {lang} -m {model_name} -t {target_lang}, or using default config: llm_translate {index or name} -l {lang} -a.

Usage

Download and unzip libs.7z and exe.7z. Please put all files in libs.7z and exe.7z into a same dir, like:

projz_renpy-translator/
    |––_internal/
    |–– imgs/
    |–– qt5/
    |–– resources/
     –– config.yaml
     –– LICENSE
     –– main.exe
     –– README.md
     –– README_zh.md
     –– requirements.txt
     –– requirements_full.txt
     –– server_ui.exe

You can download the libs.7z once, and reuse it for any updates of exe.7z. Hence, in next update, you can just re-download and unzip exe.7z to save your time.


[0.4.5] 新命令llm_translate,使用OpenAI Endpoint翻译来提高翻译质量,并减少翻译错误。用法:llm_translate {index_or_name} -l {lang} -m qwen:4b -t Chinese,或者使用默认配置:llm_translate {index or name} -l {lang} -a

用法

下载并解压缩libs.7zexe.7z。注意,需要把exe和libs所有文件都放在同一个目录下。就像这样:

projz_renpy-translator/
    |––_internal/
    |–– imgs/
    |–– qt5/
    |–– resources/
     –– config.yaml
     –– LICENSE
     –– main.exe
     –– README.md
     –– README_zh.md
     –– requirements.txt
     –– requirements_full.txt
     –– server_ui.exe

您可以下载一次libs.7z,并在exe.7z的任何更新中重复使用它。因此,在下一次更新中,您只需重新下载并解压缩exe.7z来节省时间。