Beam-1.0-501B-A23B / EVALUATION.md
Gflorent's picture cptekur's picture
Add a Beam evaluation guide and link it from the model card (#20)
24595dc
|
Raw History Blame Contribute Delete
5.1 kB

Evaluating Beam

  • Beam is Reflection's open-weight text model for coding, reasoning and tool use, with a 1M-token context window.
  • Self-hosted weights are available in BF16, FP8 and NVFP4. Compare against the reference scores for the precision you test.

Connect to Beam

  • Create a Reflection API key at platform.reflection.ai. Set your Chat Completions base URL to https://api.reflection.ai/openai/v1 (API quickstart).
  • To self-host Beam, follow the deployment guide in the developer docs.
  • Check that your outgoing request contains "model": "Beam-1.0-501B-A23B".
  • Before a formal eval, ask your Reflection contact to increase your organization's quota and rate limits.
    • Include your registered email and organization, eval workload, expected token usage, request rate, duration and any zero data retention requirement.
    • Check your limits in Billing and confirm the increase before starting. Ask your contact to confirm daily allowance, concurrency and the per-request output cap.

Set up the model

  • Use max for reasoning_effort. Beam reaches comparable solution quality to leading open models using approximately 3x fewer reasoning tokens.
  • Start with these model settings:
{
  "model": "Beam-1.0-501B-A23B",
  "reasoning_effort": "max",
  "temperature": 0.7,
  "top_p": 0.99,
  "max_completion_tokens": 32768
}
  • Suggested output budgets per API call, including reasoning:
    • 32768: start here for general evals.
    • 65536: start here for SWE-bench. Raise to 131072 if finish_reason is length.
    • 16384: use for short tasks only after checking that answers finish without being cut off. Keep reasoning_effort at max.
    • Stay within Beam's 131072-token output limit. Input plus output budget must fit the context window; null uses the configured default.
  • Save the model ID, prompts, settings and test software version. If hosting Beam yourself, also save the weights, tokenizer, chat template and server settings.

Check your endpoint with Beam Verifier

  • Use it for self-hosted or third-party Beam endpoints to catch deployment issues before the full eval.
  • beam-verifier verify checks API behavior, including tool calls, streaming and multi-turn conversations.
  • beam-verifier eval runs GPQA-Diamond and AIME. Use its benchmark presets when comparing with reference scores.
  • Setup and usage · GitHub

Agent and conversation setup

  • For tool-based evals, start with Mirror. Beam has been validated with Mirror, Pi, OpenCode and Hermes.
  • Your agent or API client must preserve reasoning_content and any tool_calls unchanged in prior assistant messages. It must return one tool message per call, with tool_call_id matching the call's id.

Errors and debugging

  • Log request IDs when debugging failures. If finish_reason is length, the output was cut off; track service failures separately from wrong answers.
  • Follow rate limits and wait as directed by Retry-After. Do not retry when x-should-retry is false.
  • For debugging, share the failing request, settings and request ID with Reflection.

Example: SWE-bench Verified

  • Run Mirror on each issue from its original repository commit, using the bash-only eval setup. Set max_completion_tokens to 65536. Keep reference fixes and grading tests hidden.
  • Save the generated patches in predictions.jsonl using the official prediction format.
  • On the evaluation machine, start Docker Engine (Linux) or Docker Desktop (macOS/Windows). With swebench installed, run the command below; the harness creates the task containers.
python -m swebench.harness.run_evaluation \
  --dataset_name SWE-bench/SWE-bench_Verified \
  --predictions_path predictions.jsonl \
  --max_workers 4 \
  --run_id beam-verified-001
  • Report the percentage of issues fixed with one attempt per issue. Include failed or missing runs.
  • Use a new run_id whenever the patches change.

Developer references