mlfoundations / mlfoundations/evalchemy

OpenAI-compat: --model openai-chat-completions with full chat URL, not curator or vLLM

Open
#161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
610
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Working config (--model openai-chat-completions + full chat URL)

Evalchemy's documented OpenAI path is --model openai-chat-completions. That class posts base_url as-is (default https://api.openai.com/v1/chat/completions). A /v1 root 404s. --model curator is LiteLLM. --model vllm is local serving.

A Chat Completions host whose public catalog is GET https://api.pzero.studio/v1/models (no key) fits if model_args includes a catalog model and base_url is the full chat URL.

export OPENAI_API_KEY="<Bearer key for that host>"

python -m eval.eval \
  --model openai-chat-completions \
  --tasks alpaca_eval \
  --model_args "model=deepseek-v4-flash,base_url=https://api.pzero.studio/v1/chat/completions,num_concurrent=1" \
  --output_path logs

OPENAI_API_KEY is required. Do not pass --model_name (that injects HuggingFace pretrained=).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the eval.eval entry point and the documented openai-chat-completions path. Confirm the full chat URL, catalog model in model_args, OPENAI_API_KEY requirement, and prohibition on --model_name; done when the documentation states this working invocation and distinguishes curator from vllm.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.