Update translate_novel.py
Browse files- translate_novel.py +1 -1
translate_novel.py
CHANGED
@@ -98,7 +98,7 @@ def main():
|
|
98 |
from auto_gptq import AutoGPTQForCausalLM
|
99 |
|
100 |
generation_config = GenerationConfig(
|
101 |
-
temperature=1
|
102 |
top_p=0.3,
|
103 |
top_k=40,
|
104 |
num_beams=1,
|
|
|
98 |
from auto_gptq import AutoGPTQForCausalLM
|
99 |
|
100 |
generation_config = GenerationConfig(
|
101 |
+
temperature=0.1,
|
102 |
top_p=0.3,
|
103 |
top_k=40,
|
104 |
num_beams=1,
|