- 安装依赖:
uv sync- 启动模型服务:
需要docker环境启动服务,使用vllm/vllm-openai:latest镜像
uv run python scripts/serve_model.py或者在本地启动服务
uv run python scripts/serve_model_local.py服务将在 http://localhost:3344 启动
curl http://localhost:3344/v1/modelsuv run python scripts/inference.py结果保存在 outputs/humaneval_results.jsonl
uv run python scripts/evaluate.py