Open cws322 opened 7 months ago
Where could I find the toolbench module?
hi, make sure you set the PYTHONPATH environment variable to the ToolBench root path. Could you provide what command you use to run the backend server, and under which directory?
Here are my command and my cloned directory (erased the toolbench key):
1st: set PYTHONPATH=C:\Users\cweis\ToolBench
2nd: python toolbench/inference/toolbench_server.py ^ --tool_root_dir data/data/toolenv/tools/ ^ --corpus_tsv_path data/data/retrieval/G1/corpus.tsv ^ --retrieval_model_path C:\Users\cweis\ToolBench\toolbench ^ --retrieved_api_nums 5 ^ --backbone_model toolllama ^ --model_path huggyllama/llama-7b ^ --lora ^ --lora_path /path/to/your/toolllama_lora ^ --max_observation_length 1024 ^ --method DFS_woFilter_w2 ^ --input_query_file data/test_instruction/G1_instruction.json ^ --output_answer_file toolllama_lora_dfs_open_domain_result ^ --rapidapi_key xxx
Issue:
I keep having the issues above when running pip install -r requirements.txt, it seems like a problem from numpy==1.24.3 I tried to remove the numpy==1.24.3 and rerun the installation, it works. However, the system keep prompting me to install other packages (a lot), is there any solution for this?