Unverified Commit bd7c4e39 authored by Qian Zhao's avatar Qian Zhao Committed by GitHub
Browse files

fix extra colon in InternLMChat7B (#796)

parent 079f29bc
......@@ -238,7 +238,7 @@ class InternLMChat7B(BaseModel):
role = message['role']
content = message['content']
ret += f'{eval(f"self.{role}")}{content}{eox_map[role]}'
ret += f'{self.assistant}:'
ret += f'{self.assistant}'
return ret
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment