fix(doc): clarify roles mapping in chat_template (#2490) [skip ci]
This commit is contained in:
@@ -165,7 +165,9 @@ datasets:
|
|||||||
content: value
|
content: value
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
# Optional[Dict[str, List]]. Roles mapping in the messages. The default is:
|
# Optional[Dict[str, List]]. Roles mapping in the messages.
|
||||||
|
# The format is {target_role: [source_roles]}. All source roles will be mapped to the target role.
|
||||||
|
# The default is:
|
||||||
roles:
|
roles:
|
||||||
user: ["human", "user"]
|
user: ["human", "user"]
|
||||||
assistant: ["gpt", "assistant"]
|
assistant: ["gpt", "assistant"]
|
||||||
|
|||||||
Reference in New Issue
Block a user