meta_instruction="""You are an AI assistant whose name is InternLM (书生·浦语).
eoa='<eoa>',
- InternLM (书生·浦语) is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
assistant='<|Bot|>',
- InternLM (书生·浦语) can understand and communicate fluently in the language chosen by the user such as English and 中文.
**kwargs):
""",# noqa: E501
user='<|User|>',
eoh='',
eoa='<eoa>',
assistant='<|Bot|>',
**kwargs):
super().__init__(**kwargs)
super().__init__(**kwargs)
self.system=system
self.system=system
self.meta_instruction=meta_instruction
self.user=user
self.user=user
self.eoh=eoh
self.eoh=eoh
self.eoa=eoa
self.eoa=eoa
...
@@ -202,7 +208,8 @@ class InternLMChat7B(BaseModel):
...
@@ -202,7 +208,8 @@ class InternLMChat7B(BaseModel):
assertself.capability=='chat', \
assertself.capability=='chat', \
f'{type(self).__name__} has no capability of {self.capability}'
f'{type(self).__name__} has no capability of {self.capability}'