UltraRAG icon indicating copy to clipboard operation
UltraRAG copied to clipboard

python ultrarag/datasets/data_construction.py 出错

Open techflag opened this issue 1 year ago • 1 comments

python ultrarag/datasets/data_construction.py --pipeline_type merge --file_list D:\project\UltraRAG\mergetest --ratios 1 --fixed_steps 4 --output_file output/output.jsonl --output_format jsonl --random_merge --current_kb_config_id f5dc10e438e35c6d8dc1a3e5c2b521b4 --knowledge_id 263719ac8c80b0ad23f2abfee1aee7e3 --knowledge_stat_tab_path resource/kb_manager/manage_table/knowledge_base_manager.csv

提示 Traceback (most recent call last): File "D:\project\UltraRAG\ultrarag\datasets\data_construction.py", line 20, in OthersClass.merge(parser) TypeError: OthersClass.merge() takes 1 positional argument but 2 were given

Image

Image

techflag avatar Feb 19 '25 14:02 techflag

Resolved: The issue was with the method definition of merge. Thanks for the help!

ChenYX24 avatar Feb 20 '25 06:02 ChenYX24