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 minicpm3 4b #633

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

add minicpm3 4b #633

wants to merge 2 commits into from

Conversation

Cppowboy
Copy link

add minicpm3 4b model

start a minicpm3 4b function call server

git clone https://github.com/OpenBMB/MiniCPM.git
cd MiniCPM/demo/minicpm3/function_call
pip install vllm==0.5.4
pip install datamodel_code_generator
python openai_api_server.py --model openbmb/MiniCPM3-4B --chat-template chatml.jinja --dtype auto --api-key token-abc123 --tensor-parallel-size 1 --trust-remote-code

run evaluation

export OPENAI_API_KEY=token-abc123
export OPENAI_BASE_URL=http://127.0.0.1:8000/v1
python openfunctions_evaluation.py --model openbmb/MiniCPM3-4B-FC --test-category all

@Cppowboy
Copy link
Author

minicpm3-4b-result.zip
minicpm3-4b-score.zip
Here are my evaluation results and score.

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.

1 participant