phpaiola commited on
Commit
abb851b
1 Parent(s): cec4116

Update modeling_internlm2.py

Browse files
Files changed (1) hide show
  1. modeling_internlm2.py +3 -3
modeling_internlm2.py CHANGED
@@ -1156,9 +1156,9 @@ class InternLM2ForCausalLM(InternLM2PreTrainedModel):
1156
  do_sample: bool = True,
1157
  temperature: float = 0.8,
1158
  top_p: float = 0.8,
1159
- meta_instruction: str = "You are an AI assistant whose name is InternLM (书生·浦语).\n"
1160
- "- InternLM (书生·浦语) is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.\n"
1161
- "- InternLM (书生·浦语) can understand and communicate fluently in the language chosen by the user such as English and 中文.",
1162
  **kwargs,
1163
  ):
1164
  inputs = self.build_inputs(tokenizer, query, history, meta_instruction)
 
1156
  do_sample: bool = True,
1157
  temperature: float = 0.8,
1158
  top_p: float = 0.8,
1159
+ meta_instruction: str = "Você é assistente de IA chamado InternBode.\n\
1160
+ - O InternBode é um modelo de língua conversacional projetado para ser prestativo, honesto e inofensivo.\n\
1161
+ - O InternBode pode entender e se comunicar fluentemente na linguagem escolhida pelo usuário, em especial o Português, o Inglês e o 中文.",
1162
  **kwargs,
1163
  ):
1164
  inputs = self.build_inputs(tokenizer, query, history, meta_instruction)