-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BFCL-GeneralGeneral BFCL IssueGeneral BFCL Issue
Description
Describe the issue
I have installed packages according to the doc. But when I run python openfunctions_evaluation.py
, it failed with ModuleNotFoundError: No module named 'tree_sitter_java'
in berkeley-function-call-leaderboard/model_handler/java_parser.py, line 3
.
I tried to install the package pip install tree-sitter-java
, which installed the version 0.21.0
. But the evaluation still failed with an error TypeError: expected str, bytes or os.PathLike object, not int
in berkeley-function-call-leaderboard/model_handler/java_parser.py line 7
, where the output of tree_sitter_java.language()
is a strange number 140316658393504
.
I want to know how to install the packages correctly, thanks~
Metadata
Metadata
Assignees
Labels
BFCL-GeneralGeneral BFCL IssueGeneral BFCL Issue