update readme
This commit is contained in:
parent
2ac6a4c53d
commit
bd2ef79684
2 changed files with 3 additions and 4 deletions
|
|
@ -51,9 +51,9 @@ For more details, please refer to [ToolBench](https://github.com/OpenBMB/ToolBen
|
|||
You should prepare the ToolBench data first. Make sure you have the directory of data/toolenv/tools
|
||||
```
|
||||
export PYTHONPATH=./
|
||||
python scripts/extract_api_details.py
|
||||
python scripts/extract_category_tool_details.py
|
||||
python scripts/extract_tool_database.py
|
||||
python preprocess/extract_api_details.py
|
||||
python preprocess/extract_category_tool_details.py
|
||||
python preprocess/extract_tool_database.py
|
||||
```
|
||||
|
||||
**AnyToolBench**
|
||||
|
|
|
|||
|
|
@ -901,7 +901,6 @@ if __name__ == "__main__":
|
|||
success_cnt = 0
|
||||
unsolvable_task_cnt = 0
|
||||
unsolvable_list = json.load(open('misc/unsolvable.json', 'r', encoding='utf-8'))
|
||||
json.dump(sorted(list(set(unsolvable_list))), open('misc/unsolvable.json', 'w', encoding='utf-8'), indent=4)
|
||||
total_cnt = 0
|
||||
query_data_all = json.load(open(query_path, 'r', encoding='utf-8'))
|
||||
for query_data in query_data_all:
|
||||
|
|
|
|||
Loading…
Reference in a new issue