refactor(supervised_finetuning): 修改 smoltalk-chinese 数据集处理脚本
This commit is contained in:
@@ -22,9 +22,9 @@ def process_func(input_dict: dict):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
dataset = load_dataset("opencsg/smoltalk-chinese")
|
dataset = load_dataset("opencsg/smoltalk-chinese")
|
||||||
|
|
||||||
process_dataset(
|
process_dataset(
|
||||||
dataset_dict=dataset,
|
dataset_dict=dataset,
|
||||||
output_subdir="Magpie-Pro-300K-sft",
|
output_subdir="smoltalk-chinese",
|
||||||
process_func=process_func,
|
process_func=process_func
|
||||||
split_name="train_sft",
|
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user