Upload conversation.py
Browse files- conversation.py +0 -6
conversation.py
CHANGED
|
@@ -331,12 +331,6 @@ def get_conv_template(name: str) -> Conversation:
|
|
| 331 |
"""Get a conversation template."""
|
| 332 |
return conv_templates[name].copy()
|
| 333 |
|
| 334 |
-
|
| 335 |
-
# Both Hermes-2 and internlm2-chat are chatml-format conversation templates. The difference
|
| 336 |
-
# is that during training, the preprocessing function for the Hermes-2 template doesn't add
|
| 337 |
-
# <s> at the beginning of the tokenized sequence, while the internlm2-chat template does.
|
| 338 |
-
# Therefore, they are completely equivalent during inference.
|
| 339 |
-
|
| 340 |
register_conv_template(
|
| 341 |
Conversation(
|
| 342 |
name='skywork-r1v-chat',
|
|
|
|
| 331 |
"""Get a conversation template."""
|
| 332 |
return conv_templates[name].copy()
|
| 333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 334 |
register_conv_template(
|
| 335 |
Conversation(
|
| 336 |
name='skywork-r1v-chat',
|