evalscope/build.sh

34 lines
763 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 构建镜像
#docker build -t evalscope:0.16.0 .
# 后台跑评测,覆盖真实地址和 Key
#docker run -d --name evalscope-run \
# -e OPENAI_API_BASE=http://ai.szaiai.com:30000/v1 \
# -e OPENAI_API_KEY=token-abc123 \
# -e EVALSCOPE_WORKER_NUM=4 \
# evalscope:0.16.0
# 构建镜像
docker build -t evalscope:0.16.0 .
# 智力抽样EvalScope eval
#docker run -d --name token-abc123 \
# -e MODE=eval \
# -e OPENAI_API_KEY=sk-xxx \
# evalscope:0.16.0
# 吞吐压测EvalScope perf
docker run -d --name evalscope \
-e MODE=perf \
-e OPENAI_API_KEY=token-abc123 \
evalscope:0.16.0
# 全基准评分OpenCompass
#docker run -d --name evalscope \
# -e MODE=opencompass \
# -e OPENAI_API_KEY=token-abc123 \
# evalscope:0.16.0