Skip to content

Commit 39e6598

Browse files
author
CassiopeiaCode
committed
fix: optimize Chinese description for few_shots_split field
Update the description of the few_shots_split field in docs/translations/zh/adding-a-custom-task.mdx from “您想从中选择样本作为少量样本示例的特定分割” to “您想从中选择少量示例样本的特定数据划分”.
1 parent 0cbce02 commit 39e6598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/translations/zh/adding-a-custom-task.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ SUBSET_TASKS = [CustomSubsetTask(name=f"mytask:{subset}", hf_subset=subset) for
108108
- `hf_subset` (str),您想用于评估的特定子集(注意:当数据集没有子集时,请用`"default"`填充此字段,而不是用`None``""`)
109109
- `hf_avail_splits` (list),您的数据集可用的所有分割(训练、验证、测试、其他...)
110110
- `evaluation_splits` (list),您想用于评估的分割
111-
- `few_shots_split` (str,可以为`null`),您想从中选择样本作为少量样本示例的特定分割。它应该与`evaluation_splits`中包含的集合不同
111+
- `few_shots_split` (str,可以为`null`),您想从中选择少量示例样本的特定数据划分。它应该与`evaluation_splits`中包含的集合不同
112112
- `few_shots_select` (str,可以为`null`),您将用来为少量样本示例选择项目的方法。可以为`null`,或以下之一:
113113
- `balanced``few_shots_split`中选择带有平衡标签的示例,以避免将少量样本示例(因此是模型生成)偏向特定标签
114114
- `random``few_shots_split`中随机选择示例

0 commit comments

Comments
 (0)