Update README.md
Browse files
README.md
CHANGED
|
@@ -64,13 +64,13 @@ Custom template used in training:
|
|
| 64 |
register_template(
|
| 65 |
name="custom_template",
|
| 66 |
format_user=StringFormatter(
|
| 67 |
-
slots=["<|User|>{{content}}"]
|
| 68 |
),
|
| 69 |
format_assistant=StringFormatter(
|
| 70 |
-
slots=["
|
| 71 |
),
|
| 72 |
format_system=StringFormatter(
|
| 73 |
-
slots=["{{content}}"]
|
| 74 |
),
|
| 75 |
format_function=FunctionFormatter(
|
| 76 |
slots=[
|
|
@@ -84,7 +84,7 @@ register_template(
|
|
| 84 |
]
|
| 85 |
),
|
| 86 |
format_tools=ToolFormatter(tool_format="qwen"),
|
| 87 |
-
default_system="",
|
| 88 |
stop_words=["<|end▁of▁sentence|>"]
|
| 89 |
)
|
| 90 |
```
|
|
|
|
| 64 |
register_template(
|
| 65 |
name="custom_template",
|
| 66 |
format_user=StringFormatter(
|
| 67 |
+
slots=["<|User|>{{content}}<|Assistant|>"]
|
| 68 |
),
|
| 69 |
format_assistant=StringFormatter(
|
| 70 |
+
slots=["{{content}}<|end▁of▁sentence|>"]
|
| 71 |
),
|
| 72 |
format_system=StringFormatter(
|
| 73 |
+
slots=["<|begin▁of▁sentence|>{{content}}"]
|
| 74 |
),
|
| 75 |
format_function=FunctionFormatter(
|
| 76 |
slots=[
|
|
|
|
| 84 |
]
|
| 85 |
),
|
| 86 |
format_tools=ToolFormatter(tool_format="qwen"),
|
| 87 |
+
default_system="Please reason step by step inside the tags <think> and </think>, and put your final answer within \\boxed{}.",
|
| 88 |
stop_words=["<|end▁of▁sentence|>"]
|
| 89 |
)
|
| 90 |
```
|