6
6
7
7
# 介绍
8
8
这是一个基于XUnity.AutoTranslator和Sakura模型的Unity游戏本地翻译器,能够提供高质量离线日文翻译
9
- 建议使用[ GalTransl-V3翻译模型] ( https://huggingface.co/SakuraLLM/Sakura-GalTransl-7B-v3 ) ,当前支持版本为Sakura v0.9/v0.10/v1.0,GalTransl 7B v2.6/v3,GalTransl 14B v3
9
+ 建议使用[ GalTransl-V3翻译模型] ( https://huggingface.co/SakuraLLM/Sakura-GalTransl-7B-v3 ) ,当前支持版本为Sakura v0.9/v0.10/v1.0,GalTransl v2.6/v3
10
10
11
11
## TODO
12
12
- [ ] 添加历史上文(搁置,难以将对话文本与ui文本区分,需要更好的规则)
@@ -70,6 +70,8 @@ FixDegeneration=True
70
70
MaxConcurrency=1
71
71
EnableShortDelay=True
72
72
DisableSpamChecks=False
73
+ TemperatureOverride=
74
+ TopPOverride=
73
75
Debug=False
74
76
```
75
77
@@ -82,11 +84,9 @@ Debug=False
82
84
| Sakura | 0.10 | Sakura v0.10 |
83
85
| Sakura | 1.0 | Sakura v1.0 |
84
86
| Sakura | * | Sakura v1.0 (默认) |
85
- | GalTransl | 2.6 | GalTransl 7B v2.6 |
86
- | GalTransl | 3 | GalTransl 7B v3 |
87
- | GalTransl | * | GalTransl 7B v3 (默认) |
88
- | GalTransl14B | 3 | GalTransl 14B v3 |
89
- | GalTransl14B | * | GalTransl 14B v3 (默认) |
87
+ | GalTransl | 2.6 | GalTransl v2.6 |
88
+ | GalTransl | 3 | GalTransl v3 |
89
+ | GalTransl | * | GalTransl v3 (默认) |
90
90
| * | * | Sakura v1.0 (默认) |
91
91
92
92
模型默认值为Sakura 1.0
@@ -128,6 +128,17 @@ Debug=False
128
128
- ` False ` (默认):开启AutoTranslator的Spam检测
129
129
- ` True ` :关闭Spam检测
130
130
131
+ ### Temperature和TopP覆盖设置
132
+ - ` TemperatureOverride ` :覆盖模型默认的temperature值(可选,留空使用模型默认值)
133
+ - 不同模型的默认temperature值:
134
+ - Sakura系列:0.1
135
+ - GalTransl v2.6:0.2
136
+ - GalTransl v3:0.3
137
+ - ` TopPOverride ` :覆盖模型默认的top_p值(可选,留空使用模型默认值)
138
+ - 不同模型的默认top_p值:
139
+ - Sakura系列:0.3
140
+ - GalTransl系列:0.8
141
+
131
142
## 启动游戏
132
143
完成所有配置后,请删除第一次启动时产生的翻译文件
133
144
- 如果你使用ReiPatcher,翻译文件应该在` {游戏目录}\AutoTranslator\Translation `
0 commit comments