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

Add Qwen handler and fix mean_latency calculation error for OSS models #642

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

zhangch-ss
Copy link
Contributor

Hello, there may be an anomaly in the mean latency calculation of the OSS model, and I have attempted to fix it.

@zhangch-ss
Copy link
Contributor Author

line 1045, berkeley-function-call-leaderboard/bfcl/eval_checker/eval_runner_helper.py

@zhangch-ss
Copy link
Contributor Author

Qwen handler is also added in this PR
image

@zhangch-ss zhangch-ss changed the title Fix the mean_latency calculation error in the OSS model Add Qwen handler and fix mean_latency calculation error for OSS models Sep 19, 2024
@zhangch-ss
Copy link
Contributor Author

You may need to modify it according to the actual situation

"Qwen/Qwen2-1.5B-Instruct": 100,
"Qwen/Qwen2-7B-Instruct": 100,
OSS_LATENCY = {
    "deepseek-ai/deepseek-coder-6.7b-instruct": 909,
    "google/gemma-7b-it": 95,
    "NousResearch/Hermes-2-Pro-Mistral-7B": 135,
    "NousResearch/Hermes-2-Pro-Llama-3-8B": 77,
    "NousResearch/Hermes-2-Theta-Llama-3-8B": 73,
    "NousResearch/Hermes-2-Theta-Llama-3-70B": 716,
    "NousResearch/Hermes-2-Pro-Llama-3-70B": 674,
    "meta-llama/Meta-Llama-3-8B-Instruct": 73,
    "meta-llama/Meta-Llama-3-70B-Instruct": 307,
    "gorilla-openfunctions-v2": 83,
    "THUDM/glm-4-9b-chat": 223,
    "Qwen/Qwen2-1.5B-Instruct": 100,
    "Qwen/Qwen2-7B-Instruct": 100,
}

@zhangch-ss
Copy link
Contributor Author

Now it supports the newly released Qwen2.5
image

@HuanzhiMao
Copy link
Collaborator

Apologize for the long delay. Will definitely take a look after the Monday ICLR deadline.

@zhangch-ss
Copy link
Contributor Author

Apologize for the long delay. Will definitely take a look after the Monday ICLR deadline.

thanks, hope all is well

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

Successfully merging this pull request may close these issues.

2 participants