Repository navigation
Expand file tree
/
Copy pathmodels.yaml
More file actions
101 lines (89 loc) · 3.6 KB
/
Copy pathmodels.yaml
File metadata and controls
101 lines (89 loc) · 3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Model registry for the DocScope inference pipeline.
#
# Each entry is a self-contained job spec consumed by run_infer.py.
# Fill in api_key_env and base_url to match your own API provider.
#
# Fields:
# id - unique identifier for this run (used as output filename stem)
# backend - one of: claude | openai | gemini
# model - model name as accepted by the provider API
# api_key_env - name of the environment variable holding your API key
# base_url - provider API endpoint
# extra_args - list of extra CLI flags passed to run_infer.py
# supported: --dpi <int> (default 72)
# --max_pages <int>
# ── Judge (for evaluation scoring) ───────────────────────────────────────────
# Evaluation uses an OpenAI-compatible judge model.
# Set the environment variable and base_url below to your judge endpoint.
#
# judge:
# model: gpt-4o-mini # keep this model for comparable results
# api_key_env: YOUR_JUDGE_API_KEY_ENV # e.g. OPENAI_API_KEY
# base_url: https://... # your OpenAI-compatible judge endpoint
# ── Defaults ──────────────────────────────────────────────────────────────────
defaults:
benchmark: benchmark.json
split: test # test | dev | (omit for all)
output_root: results
infer_concurrency: 4
# ── Models ────────────────────────────────────────────────────────────────────
models:
# Claude family (Anthropic API)
- id: claude-opus-4-7
backend: claude
model: claude-opus-4-7
api_key_env: ANTHROPIC_API_KEY
base_url: https://api.anthropic.com/v1/messages
extra_args: []
- id: claude-sonnet-4-5
backend: claude
model: claude-sonnet-4-5
api_key_env: ANTHROPIC_API_KEY
base_url: https://api.anthropic.com/v1/messages
extra_args: []
- id: claude-haiku-4-5
backend: claude
model: claude-haiku-4-5-20251001
api_key_env: ANTHROPIC_API_KEY
base_url: https://api.anthropic.com/v1/messages
extra_args: []
# Gemini family (Google AI Studio)
- id: gemini-2.5-pro
backend: gemini
model: gemini-2.5-pro-preview-05-06
api_key_env: GEMINI_API_KEY
base_url: https://generativelanguage.googleapis.com/v1beta
extra_args: []
- id: gemini-2.5-flash
backend: gemini
model: gemini-2.5-flash-preview-04-17
api_key_env: GEMINI_API_KEY
base_url: https://generativelanguage.googleapis.com/v1beta
extra_args: []
- id: gemini-2.0-flash
backend: gemini
model: gemini-2.0-flash
api_key_env: GEMINI_API_KEY
base_url: https://generativelanguage.googleapis.com/v1beta
extra_args: []
# OpenAI family (OpenAI API)
- id: gpt-4o
backend: openai
model: gpt-4o
api_key_env: OPENAI_API_KEY
base_url: https://api.openai.com/v1
extra_args: []
- id: gpt-4o-mini
backend: openai
model: gpt-4o-mini
api_key_env: OPENAI_API_KEY
base_url: https://api.openai.com/v1
extra_args: []
# OpenAI-compatible: any provider that speaks the OpenAI chat completions API
# Example below uses OpenRouter (https://openrouter.ai)
# - id: llama-4-maverick
# backend: openai
# model: meta-llama/llama-4-maverick
# api_key_env: OPENROUTER_API_KEY
# base_url: https://openrouter.ai/api/v1
# extra_args: []