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

[BFCL] Add ToolACE handler for BFCL-v3 #653

Merged
merged 7 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions berkeley-function-call-leaderboard/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

All notable changes to the Berkeley Function Calling Leaderboard will be documented in this file.

- [Oct 4, 2024] [#653](https://github.com/ShishirPatil/gorilla/pull/653): Add new model `Team-ACE/ToolACE-8B` to the leaderboard.
- [Oct 4, 2024] [#671](https://github.com/ShishirPatil/gorilla/pull/671): Speed up locally-hosted model's inference process by parallelizing the inference requests.
- [Sept 27, 2024] [#640](https://github.com/ShishirPatil/gorilla/pull/640): Add the following new models to the leaderboard:
- `microsoft/Phi-3.5-mini-instruct`
Expand Down
1 change: 1 addition & 0 deletions berkeley-function-call-leaderboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Below is _a table of models we support_ to run our leaderboard evaluation agains
|ibm-granite/granite-20b-functioncalling 💻| Function Calling|
|yi-large-fc | Function Calling|
|MadeAgents/Hammer-7b 💻| Function Calling|
|Team-ACE/ToolACE-8B 💻| Function Calling|

Here {MODEL} 💻 means the model needs to be hosted locally and called by vllm, {MODEL} means the models that are called API calls. For models with a trailing `-FC`, it means that the model supports function-calling feature. You can check out the table summarizing feature supports among different models [here](https://gorilla.cs.berkeley.edu/blogs/8_berkeley_function_calling_leaderboard.html#prompt).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,12 @@
"Microsoft",
"MIT",
],
"Team-ACE/ToolACE-8B": [
"ToolACE-8B (FC)",
"https://huggingface.co/Team-ACE/ToolACE-8B",
"Huawei Noah & USTC",
"Apache-2.0",
],
}

INPUT_PRICE_PER_MILLION_TOKEN = {
Expand Down Expand Up @@ -733,4 +739,5 @@
"Salesforce/xLAM-7b-r",
"Salesforce/xLAM-8x7b-r",
"Salesforce/xLAM-8x22b-r",
"Team-ACE/ToolACE-8B",
]
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
"ibm-granite/granite-20b-functioncalling": GraniteHandler,
# "MadeAgents/Hammer-7b": HammerHandler, # TODO: Update handler once they have a multi-turn format
"THUDM/glm-4-9b-chat": GLMHandler,
"Team-ACE/ToolACE-8B": LlamaHandler,

# Deprecated/outdated models, no longer on the leaderboard
# "gorilla-openfunctions-v0": GorillaHandler,
Expand Down