OpenBMB / ToolBench

[ICLR'24 spotlight] An open platform for training, serving, and evaluating large language model for tool learning.
https://openbmb.github.io/ToolBench/
Apache License 2.0
4.6k stars 397 forks source link

Error on data preprocessing #261

Open inkfish-maker opened 2 months ago

inkfish-maker commented 2 months ago

Hello, thank you for your work. It seems that after the dataset update (data_0801. zip → data. zip), the code for preprocess/preprocess_toollama_data.py has not been updated, and it cannot process the data in the new dataset.

export PYTHONPATH=./
python preprocess/preprocess_toolllama_data.py \
    --tool_data_dir data/answer/G1_answer \
    --method DFS_woFilter_w2 \
    --output_file data/answer/toolllama_G1_dfs.json

image