From 31498d02301a35990557f37e2c56c9d7a8933cba Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Mon, 7 Apr 2025 23:40:32 +0700 Subject: [PATCH] fix(doc): clarify roles mapping in chat_template (#2490) [skip ci] --- docs/config.qmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/config.qmd b/docs/config.qmd index 6414b63a5..0e49d1992 100644 --- a/docs/config.qmd +++ b/docs/config.qmd @@ -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"]