Supports custom data set sampling quantity

Former-commit-id: fa8325401df27595de4611a89dfcc14644956abd
This commit is contained in:
zhangzc
2024-03-27 14:22:50 +08:00
parent dc540dfaa8
commit 7cdc16abdf
4 changed files with 21 additions and 4 deletions

View File

@ -27,8 +27,9 @@ If you are using a custom dataset, please provide your dataset definition in the
"assistant_tag": "the value of the role_tag represents the assistant. (default: gpt)",
"observation_tag": "the value of the role_tag represents the tool results. (default: observation)",
"function_tag": "the value of the role_tag represents the function call. (default: function_call)",
"system_tag": "the value of the role_tag represents the system prompt. (default: system, can override system column)"
}
"system_tag": "the value of the role_tag represents the system prompt. (default: system, can override system column)",
},
"sample_num": "the number of samples from this dataset can be greater than the total amount of the dataset. (default: None)"
}
```

View File

@ -28,7 +28,8 @@
"observation_tag": "消息中代表工具返回结果的 role_tag默认observation",
"function_tag": "消息中代表工具调用的 role_tag默认function_call",
"system_tag": "消息中代表系统提示的 role_tag默认system会覆盖 system 列)"
}
},
"sample_num": "从该数据集采样的数量可大于该数据集总量默认None"
}
```