forked from ShishirPatil/gorilla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BFCL] Improved tree-sitter java, javascript installation (ShishirPat…
…il#505) **Purpose**: - One step addressing ShishirPatil#501 **Changes**: - remove steps of cloning repo, symlinks, builds - add `tree-sitter-java` and `tree-sitter-javascript` in requirements.txt with pip install **Test**: - Tested end-to-end BFCL generation and checked on gorilla-openfunctions-v2 and llama3-70B. Co-authored-by: Shishir Patil <30296397+ShishirPatil@users.noreply.github.com>
- Loading branch information
1 parent
3a29cae
commit fb65af9
Showing
4 changed files
with
7 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
berkeley-function-call-leaderboard/model_handler/java_parser.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
berkeley-function-call-leaderboard/model_handler/js_parser.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ anthropic~=0.29.0 | |
openai | ||
numpy | ||
cohere~=5.2.5 | ||
tree-sitter-java==0.21.0 | ||
tree-sitter-javascript==0.21.4 |