Uses a local API KoboldCpp for translation.
English | 中文
Translate Button:
-
This script utilizes KoboldCpp, with translation done after opening the local port 5001.
-
Tested with the
Mistral-Nemo-Instruct-2407.Q8_0.gguf
model, which provides good support for Chinese, Japanese, and English languages. -
You can change the target language by editing the API parameters and prompt in the
js
file.
You can switch target language by:
-
这里使用的是KoboldCpp,开启本地5001端口后进行翻译。
-
经测试,
Mistral-Nemo-Instruct-2407.Q8_0.gguf
模型对中日英语言支持良好。 -
通过编辑
js
中的API参数和prompt可以更改目标语言。