refactor(sft_file, utils): 重构数据处理流程并支持新数据集
This commit is contained in:
+2
-1
@@ -5,7 +5,8 @@ import os
|
||||
if __name__ == "__main__":
|
||||
tokenizer = BpeTokenizer("tokenizer.json")
|
||||
base_dir = [
|
||||
os.path.join("dataset", "belle-sft"),
|
||||
# os.path.join("dataset", "belle-sft"),
|
||||
os.path.join("dataset", "chinese-instruct")
|
||||
]
|
||||
base_out_dir = "pkl_output"
|
||||
files = []
|
||||
|
||||
Reference in New Issue
Block a user