mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-23 14:32:28 +00:00
fixed the inconstistancy in english language responses
This commit is contained in:
parent
58e777f9ab
commit
e267968a28
@ -699,13 +699,6 @@ class LollmsApplication(LoLLMsCom):
|
||||
negative_boost=""
|
||||
n_negative_boost = 0
|
||||
|
||||
if self.config.current_language:
|
||||
force_language="\n!@>important information: Answer the user in "+self.config.current_language+" and do not translate your answer to english\n"
|
||||
n_force_language = len(self.model.tokenize(force_language))
|
||||
else:
|
||||
force_language=""
|
||||
n_force_language = 0
|
||||
|
||||
if self.config.fun_mode:
|
||||
fun_mode="\n!@>important information: Fun mode activated. In this mode you must answer in a funny playful way. Do not be serious in your answers. Each answer needs to make the user laugh.\n"
|
||||
n_fun_mode = len(self.model.tokenize(positive_boost))
|
||||
|
Loading…
Reference in New Issue
Block a user