Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Boolean value of Tensor with more than one value is ambiguous #306

Open
Cgf601 opened this issue Sep 6, 2024 · 0 comments

Comments

@Cgf601
Copy link

Cgf601 commented Sep 6, 2024

执行这个脚本一直报错
python toolbench/inference/qa_pipeline.py
--tool_root_dir data/toolenv/tools/
--backbone_model toolllama
--model_path ToolBench/ToolLLaMA-7b
--max_observation_length 1024
--observ_compress_method truncate
--method DFS_woFilter_w2
--input_query_file data/test_instruction/G1_instruction.json
--output_answer_file toolllama_dfs_inference_result
--toolbench_key $TOOLBENCH_KEY

   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

RuntimeError: Boolean value of Tensor with more than one value is ambiguous

why?why?why?why?why?why?
who can help me????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant