CoolFace
Datasetpublic

stabletoolbench/ToolEnv2404

This is the tool set of we crawled in Apr 2404 in the ToolBench format and used to train the StableToolBench-Mirror API model. To use this tool set, download the .tar.gz file and unzip it with tar xzvf toolenv2404_filtered.tar.gz and copy the path of the tools folder in the running script of ToolBench. For example, export TOOLBENCH_KEY="" export OPENAI_KEY="" export OPENAI_API_BASE="" export PYTHONPATH=./ export GPT_MODEL="gpt-3.5-turbo-16k" export SERVICE_URL="http://localhost:8080/virtual"… See the full description on the dataset page: https://huggingface.co/datasets/stabletoolbench/ToolEnv2404.

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes203downloads
Dataset Card

This is the tool set of we crawled in Apr 2404 in the ToolBench format and used to train the StableToolBench-Mirror API model. To use this tool set, download the .tar.gz file and unzip it with tar xzvf toolenv2404_filtered.tar.gz and copy the path of the tools folder in the running script of ToolBench. For example,

bash
export TOOLBENCH_KEY=""
export OPENAI_KEY=""
export OPENAI_API_BASE="" 
export PYTHONPATH=./
export GPT_MODEL="gpt-3.5-turbo-16k"
export SERVICE_URL="http://localhost:8080/virtual"
export OUTPUT_DIR="data/answer/virtual_chatgpt_cot"
group=G1_instruction
mkdir -p $OUTPUT_DIR; mkdir -p $OUTPUT_DIR/$group

python toolbench/inference/qa_pipeline_multithread.py \
    --tool_root_dir toolenv/toolenv2404_filtered \ # This is the place where you fill the path to the tools folder.
    --backbone_model chatgpt_function \
    --openai_key $OPENAI_KEY \
    --max_observation_length 1024 \
    --method CoT@1 \
    --input_query_file solvable_queries/test_instruction/${group}.json \
    --output_answer_file $OUTPUT_DIR/$group \
    --toolbench_key $TOOLBENCH_KEY \
    --num_thread 1