fix(doc): clarify roles mapping in chat_template (#2490) [skip ci]

This commit is contained in:
NanoCode012
2025-04-07 23:40:32 +07:00
committed by GitHub
parent d25daebea9
commit 31498d0230

View File

@@ -165,7 +165,9 @@ datasets:
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:
user: ["human", "user"]
assistant: ["gpt", "assistant"]