CodeWorker commited on
Commit
d7e55f0
·
verified ·
1 Parent(s): 65cf3d7

Refresh page: live data, Space links

Browse files
Files changed (2) hide show
  1. index.html +14 -3
  2. scripts/page_template.html +14 -3
index.html CHANGED
@@ -261,7 +261,8 @@ HfApi().upload_folder(repo_id="CodeWorker/PINK-Leaderboard", repo_type="space",
261
 
262
  <script>
263
 
264
- const LB = {"updated": "2026-11-27", "tabs": [{"id": "qwen3.8-27b", "label": "Qwen3.8-27B", "sub": "closest open judge to GPT-5", "desc": "Graded by Qwen3.8-27B with thinking, the open judge that agrees best with GPT-5, against its own grades of the oracle. New submissions go here.", "notes": ["Paper models are graded from the exact transcriptions GPT-5 saw; new models use the paper's OCR prompt with thinking off, or the model card's prompt for dedicated OCR models.", "The judge is also one of the graded models (Qwen3.8-27B), so a family preference cannot be ruled out. On the paper models it ranks like GPT-5 (Kendall τ = 0.98).", "Empty transcriptions and repetition loops too long for the judge's 16k context count as 0."], "rows": null}, {"id": "qwen3-next-80b", "label": "Qwen3-Next-80B", "sub": "paper appendix judge", "desc": "Graded by Qwen3-Next-80B-A3B-Thinking against its bundled oracle grades, as in the GitHub README (November 2026).", "notes": ["Paper models (tag “paper”) are re-graded from their original transcriptions.", "This judge scores coarsely, so its over-correction rates run well below GPT-5's. Compare rates only within one tab.", "Empty transcriptions and repetition loops too long for the judge's 16k context count as 0."], "rows": [{"id": "qwen3.6-35b-a3b", "name": "Qwen3.6-35B-A3B", "url": "https://huggingface.co/Qwen/Qwen3.6-35B-A3B", "type": "VLM", "source": "maintainers", "params": 36.0, "note": "MoE, 3B active", "pink": 0.9278, "lo": 0.9213, "hi": 0.9345, "oc": 0.4184, "raw": 1.0839, "graded": 2243, "n": 2244}, {"id": "gemma-4-31b-it", "name": "Gemma-4-31B-it", "url": "https://huggingface.co/google/gemma-4-31B-it", "type": "VLM", "source": "maintainers", "params": 31.3, "note": "", "pink": 0.9211, "lo": 0.9139, "hi": 0.928, "oc": 0.4563, "raw": 1.1041, "graded": 2244, "n": 2244}, {"id": "gemini-2.5-flash", "name": "Gemini 2.5 Flash", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.9201, "lo": 0.9133, "hi": 0.9267, "oc": 0.3743, "raw": 1.0405, "graded": 2243, "n": 2244}, {"id": "qwen3.8-27b", "name": "Qwen3.8-27B", "url": "https://huggingface.co/Qwen/Qwen3.8-27B", "type": "VLM", "source": "maintainers", "params": 27.8, "note": "", "pink": 0.9164, "lo": 0.9093, "hi": 0.9229, "oc": 0.3935, "raw": 1.0574, "graded": 2244, "n": 2244}, {"id": "qwen2.5-vl-72b", "name": "Qwen2.5-VL-72B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct", "type": "VLM", "source": "paper", "params": 73.4, "note": "", "pink": 0.9132, "lo": 0.9053, "hi": 0.9207, "oc": 0.5022, "raw": 1.1221, "graded": 2243, "n": 2244}, {"id": "qwen3.5-9b", "name": "Qwen3.5-9B", "url": "https://huggingface.co/Qwen/Qwen3.5-9B", "type": "VLM", "source": "maintainers", "params": 9.7, "note": "", "pink": 0.9132, "lo": 0.9062, "hi": 0.9201, "oc": 0.3703, "raw": 1.0349, "graded": 2243, "n": 2244}, {"id": "muse-glimmer-30b", "name": "Muse-Glimmer-30B", "url": "https://huggingface.co/meta-models/Muse-Glimmer-30B", "type": "VLM", "source": "maintainers", "params": 29.8, "note": "low reasoning effort", "pink": 0.9128, "lo": 0.9056, "hi": 0.9193, "oc": 0.3525, "raw": 1.017, "graded": 2242, "n": 2244}, {"id": "chandra-ocr-2", "name": "Chandra-OCR-2", "url": "https://huggingface.co/datalab-to/chandra-ocr-2", "type": "OCR", "source": "maintainers", "params": 5.3, "note": "", "pink": 0.912, "lo": 0.905, "hi": 0.9189, "oc": 0.3997, "raw": 1.0469, "graded": 2244, "n": 2244}, {"id": "qwen3-vl-8b-instruct", "name": "Qwen3-VL-8B-Instruct", "url": "https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct", "type": "VLM", "source": "maintainers", "params": 8.8, "note": "", "pink": 0.9101, "lo": 0.9027, "hi": 0.918, "oc": 0.3997, "raw": 1.0475, "graded": 2243, "n": 2244}, {"id": "gpt-4o", "name": "GPT-4o", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.8964, "lo": 0.8878, "hi": 0.9044, "oc": 0.4456, "raw": 1.0729, "graded": 2244, "n": 2244}, {"id": "olmocr-2-7b", "name": "olmOCR-2-7B", "url": "https://huggingface.co/allenai/olmOCR-2-7B-1025", "type": "OCR", "source": "maintainers", "params": 8.3, "note": "", "pink": 0.8866, "lo": 0.878, "hi": 0.8947, "oc": 0.3284, "raw": 0.9781, "graded": 2243, "n": 2244}, {"id": "internvl3.5-8b", "name": "InternVL3.5-8B", "url": "https://huggingface.co/OpenGVLab/InternVL3_5-8B", "type": "VLM", "source": "maintainers", "params": 8.5, "note": "", "pink": 0.8588, "lo": 0.8485, "hi": 0.8693, "oc": 0.3253, "raw": 0.9509, "graded": 2244, "n": 2244}, {"id": "nanonets-ocr2-3b", "name": "Nanonets-OCR2-3B", "url": "https://huggingface.co/nanonets/Nanonets-OCR2-3B", "type": "OCR", "source": "maintainers", "params": 3.8, "note": "", "pink": 0.8446, "lo": 0.8351, "hi": 0.8546, "oc": 0.3048, "raw": 0.9247, "graded": 2244, "n": 2244}, {"id": "scieagle-granite-9b-preview", "name": "SciEagle-Granite-9B (preview)", "url": null, "type": "VLM", "source": "maintainers", "params": 8.8, "note": "ETRI preview, weights not public", "pink": 0.8278, "lo": 0.8161, "hi": 0.8393, "oc": 0.3953, "raw": 0.9631, "graded": 2244, "n": 2244}, {"id": "glm-ocr", "name": "GLM-OCR", "url": "https://huggingface.co/zai-org/GLM-OCR", "type": "OCR", "source": "maintainers", "params": 1.3, "note": "", "pink": 0.825, "lo": 0.8139, "hi": 0.8357, "oc": 0.279, "raw": 0.8913, "graded": 2244, "n": 2244}, {"id": "qwen2.5-vl-7b", "name": "Qwen2.5-VL-7B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct", "type": "VLM", "source": "paper", "params": 8.3, "note": "", "pink": 0.7883, "lo": 0.7743, "hi": 0.8019, "oc": 0.3258, "raw": 0.8832, "graded": 2244, "n": 2244}, {"id": "dots.ocr", "name": "dots.ocr", "url": "https://huggingface.co/dots-studio/dots.ocr", "type": "OCR", "source": "maintainers", "params": 3.0, "note": "", "pink": 0.7751, "lo": 0.7635, "hi": 0.787, "oc": 0.2674, "raw": 0.8431, "graded": 2242, "n": 2244}, {"id": "paddleocr-vl-1.6", "name": "PaddleOCR-VL-1.6", "url": "https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.6", "type": "OCR", "source": "maintainers", "params": 1.0, "note": "", "pink": 0.7221, "lo": 0.7089, "hi": 0.7354, "oc": 0.2464, "raw": 0.781, "graded": 2244, "n": 2244}, {"id": "unlimited-ocr", "name": "Unlimited-OCR", "url": "https://huggingface.co/baidu/Unlimited-OCR", "type": "OCR", "source": "maintainers", "params": 3.3, "note": "", "pink": 0.6903, "lo": 0.6777, "hi": 0.7034, "oc": 0.2429, "raw": 0.7487, "graded": 2243, "n": 2244}, {"id": "unlimited-ocr-2", "name": "Unlimited-OCR-2", "url": "https://huggingface.co/baidu/Unlimited-OCR-2", "type": "OCR", "source": "maintainers", "params": 3.3, "note": "", "pink": 0.6755, "lo": 0.6626, "hi": 0.6899, "oc": 0.2451, "raw": 0.7326, "graded": 2214, "n": 2244}, {"id": "d1-2b", "name": "d1-2B", "url": "https://huggingface.co/LiquidAI/d1-2B", "type": "VLM", "source": "maintainers", "params": 1.9, "note": "", "pink": 0.5384, "lo": 0.5213, "hi": 0.5548, "oc": 0.2634, "raw": 0.6106, "graded": 2240, "n": 2244}, {"id": "deepseek-ocr-2", "name": "DeepSeek-OCR-2", "url": "https://huggingface.co/deepseek-ai/DeepSeek-OCR-2", "type": "OCR", "source": "maintainers", "params": 3.4, "note": "", "pink": 0.5318, "lo": 0.5163, "hi": 0.5468, "oc": 0.2193, "raw": 0.5918, "graded": 2244, "n": 2244}]}, {"id": "gpt-5", "label": "GPT-5", "sub": "paper, Table 1", "desc": "The paper's main results: GPT-5 (reasoning effort medium) as the judge, on all 2,244 FERMAT samples.", "notes": ["The printed Table 1 swaps the two Pixtral PINK values; these are the correct ones.", "As in the paper, samples the judge could not grade are left out for these rows."], "rows": [{"id": "gemini-2.5-flash", "name": "Gemini 2.5 Flash", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.9347, "lo": 0.9299, "hi": 0.9395, "oc": 0.5926, "raw": 1.0277, "graded": 2241, "n": 2244}, {"id": "qwen2.5-vl-72b", "name": "Qwen2.5-VL-72B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct", "type": "VLM", "source": "paper", "params": 73.4, "note": "", "pink": 0.9203, "lo": 0.9145, "hi": 0.9263, "oc": 0.6573, "raw": 1.0978, "graded": 2244, "n": 2244}, {"id": "qwen2.5-vl-32b", "name": "Qwen2.5-VL-32B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-32B-Instruct", "type": "VLM", "source": "paper", "params": 33.5, "note": "", "pink": 0.919, "lo": 0.913, "hi": 0.925, "oc": 0.6622, "raw": 1.0949, "graded": 2244, "n": 2244}, {"id": "ovis2-34b", "name": "Ovis2-34B", "url": "https://huggingface.co/AIDC-AI/Ovis2-34B", "type": "VLM", "source": "paper", "params": 34.9, "note": "", "pink": 0.9165, "lo": 0.9105, "hi": 0.9223, "oc": 0.6252, "raw": 1.0514, "graded": 2244, "n": 2244}, {"id": "internvl3-78b", "name": "InternVL3-78B", "url": "https://huggingface.co/OpenGVLab/InternVL3-78B", "type": "VLM", "source": "paper", "params": 78.4, "note": "", "pink": 0.9105, "lo": 0.9042, "hi": 0.9165, "oc": 0.5849, "raw": 1.014, "graded": 2243, "n": 2244}, {"id": "gpt-4o", "name": "GPT-4o", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.9075, "lo": 0.9004, "hi": 0.9142, "oc": 0.6225, "raw": 1.0511, "graded": 2244, "n": 2244}, {"id": "internvl3-38b", "name": "InternVL3-38B", "url": "https://huggingface.co/OpenGVLab/InternVL3-38B", "type": "VLM", "source": "paper", "params": 38.4, "note": "", "pink": 0.9054, "lo": 0.8987, "hi": 0.9119, "oc": 0.5879, "raw": 1.0113, "graded": 2242, "n": 2244}, {"id": "ovis2-8b", "name": "Ovis2-8B", "url": "https://huggingface.co/AIDC-AI/Ovis2-8B", "type": "VLM", "source": "paper", "params": 8.9, "note": "", "pink": 0.8874, "lo": 0.8799, "hi": 0.8949, "oc": 0.5357, "raw": 0.9629, "graded": 2244, "n": 2244}, {"id": "internvl3-8b", "name": "InternVL3-8B", "url": "https://huggingface.co/OpenGVLab/InternVL3-8B", "type": "VLM", "source": "paper", "params": 7.9, "note": "", "pink": 0.8732, "lo": 0.8647, "hi": 0.8808, "oc": 0.5076, "raw": 0.9379, "graded": 2244, "n": 2244}, {"id": "pixtral-large", "name": "Pixtral-Large", "url": "https://huggingface.co/mistralai/Pixtral-Large-Instruct-2411", "type": "VLM", "source": "paper", "params": 124.0, "note": "", "pink": 0.8495, "lo": 0.8398, "hi": 0.8583, "oc": 0.5609, "raw": 0.973, "graded": 2243, "n": 2244}, {"id": "qwen2.5-vl-7b", "name": "Qwen2.5-VL-7B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct", "type": "VLM", "source": "paper", "params": 8.3, "note": "", "pink": 0.8319, "lo": 0.8202, "hi": 0.8437, "oc": 0.5461, "raw": 0.9102, "graded": 2243, "n": 2244}, {"id": "llama-3.2-90b-vision", "name": "Llama-3.2-90B-Vision", "url": "https://huggingface.co/meta-llama/Llama-3.2-90B-Vision-Instruct", "type": "VLM", "source": "paper", "params": 88.6, "note": "", "pink": 0.8145, "lo": 0.8035, "hi": 0.825, "oc": 0.5013, "raw": 0.902, "graded": 2244, "n": 2244}, {"id": "gpt-4o-mini", "name": "GPT-4o mini", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.7871, "lo": 0.7748, "hi": 0.799, "oc": 0.496, "raw": 0.8817, "graded": 2244, "n": 2244}, {"id": "pixtral-12b", "name": "Pixtral-12B", "url": "https://huggingface.co/mistralai/Pixtral-12B-2409", "type": "VLM", "source": "paper", "params": 12.4, "note": "", "pink": 0.7217, "lo": 0.7089, "hi": 0.7352, "oc": 0.4389, "raw": 0.8013, "graded": 2244, "n": 2244}, {"id": "llama-3.2-11b-vision", "name": "Llama-3.2-11B-Vision", "url": "https://huggingface.co/meta-llama/Llama-3.2-11B-Vision-Instruct", "type": "VLM", "source": "paper", "params": 10.7, "note": "", "pink": 0.6762, "lo": 0.662, "hi": 0.6906, "oc": 0.4211, "raw": 0.7582, "graded": 2244, "n": 2244}]}]}; // {tabs: [{id, label, sub, desc, rows|null, notes}]}
 
265
  const esc = s => String(s).replace(/[&<>"]/g, c => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" }[c]));
266
  const bar = (v, lo, hi, w) => Math.max(4, Math.round((v - lo) / (hi - lo) * w));
267
 
@@ -271,11 +272,12 @@ const FILTERS = [["All", () => true], ["General VLMs", r => r.type === "VLM"], [
271
  ["10–40B", r => sizeBand(r.params) === "10–40B"], ["> 40B / API", r => ["> 40B", "API"].includes(sizeBand(r.params))]];
272
  let current = 0;
273
  let tab = Math.max(0, LB.tabs.findIndex(t => t.rows)); // the closest-to-GPT-5 tab is first; fall back while it is pending
 
274
  function renderTabs() {
275
  const host = document.querySelector(".tabs");
276
  host.innerHTML = LB.tabs.map((t, i) => `<button class="tab" type="button" role="tab" aria-selected="${i === tab}" data-t="${i}">` +
277
  `<b>${esc(t.label)}</b><span>${esc(t.sub)}${t.rows ? "" : " · grading"}</span></button>`).join("");
278
- host.querySelectorAll(".tab").forEach(b => b.addEventListener("click", () => { tab = +b.dataset.t; current = 0; renderTabs(); renderLB(); }));
279
  document.getElementById("lb-desc").textContent = LB.tabs[tab].desc;
280
  }
281
  function renderLB() {
@@ -308,8 +310,17 @@ function renderLB() {
308
  renderTabs();
309
  renderLB();
310
  document.querySelectorAll("a[data-tab]").forEach(a => a.addEventListener("click", () => {
311
- tab = Math.max(0, LB.tabs.findIndex(t => t.id === a.dataset.tab)); current = 0; renderTabs(); renderLB();
312
  }));
 
 
 
 
 
 
 
 
 
313
 
314
  document.querySelectorAll(".copy").forEach(btn => btn.addEventListener("click", async () => {
315
  const el = document.getElementById(btn.dataset.target);
 
261
 
262
  <script>
263
 
264
+ let LB = {"updated": "2026-11-27", "tabs": [{"id": "qwen3.8-27b", "label": "Qwen3.8-27B", "sub": "closest open judge to GPT-5", "desc": "Graded by Qwen3.8-27B with thinking, the open judge that agrees best with GPT-5, against its own grades of the oracle. New submissions go here.", "notes": ["Paper models are graded from the exact transcriptions GPT-5 saw; new models use the paper's OCR prompt with thinking off, or the model card's prompt for dedicated OCR models.", "The judge is also one of the graded models (Qwen3.8-27B), so a family preference cannot be ruled out. On the paper models it ranks like GPT-5 (Kendall τ = 0.98).", "Empty transcriptions and repetition loops too long for the judge's 16k context count as 0."], "rows": null}, {"id": "qwen3-next-80b", "label": "Qwen3-Next-80B", "sub": "paper appendix judge", "desc": "Graded by Qwen3-Next-80B-A3B-Thinking against its bundled oracle grades, as in the GitHub README (November 2026).", "notes": ["Paper models (tag “paper”) are re-graded from their original transcriptions.", "This judge scores coarsely, so its over-correction rates run well below GPT-5's. Compare rates only within one tab.", "Empty transcriptions and repetition loops too long for the judge's 16k context count as 0."], "rows": [{"id": "qwen3.6-35b-a3b", "name": "Qwen3.6-35B-A3B", "url": "https://huggingface.co/Qwen/Qwen3.6-35B-A3B", "type": "VLM", "source": "maintainers", "params": 36.0, "note": "MoE, 3B active", "pink": 0.9278, "lo": 0.9213, "hi": 0.9345, "oc": 0.4184, "raw": 1.0839, "graded": 2243, "n": 2244}, {"id": "gemma-4-31b-it", "name": "Gemma-4-31B-it", "url": "https://huggingface.co/google/gemma-4-31B-it", "type": "VLM", "source": "maintainers", "params": 31.3, "note": "", "pink": 0.9211, "lo": 0.9139, "hi": 0.928, "oc": 0.4563, "raw": 1.1041, "graded": 2244, "n": 2244}, {"id": "gemini-2.5-flash", "name": "Gemini 2.5 Flash", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.9201, "lo": 0.9133, "hi": 0.9267, "oc": 0.3743, "raw": 1.0405, "graded": 2243, "n": 2244}, {"id": "qwen3.8-27b", "name": "Qwen3.8-27B", "url": "https://huggingface.co/Qwen/Qwen3.8-27B", "type": "VLM", "source": "maintainers", "params": 27.8, "note": "", "pink": 0.9164, "lo": 0.9093, "hi": 0.9229, "oc": 0.3935, "raw": 1.0574, "graded": 2244, "n": 2244}, {"id": "qwen2.5-vl-72b", "name": "Qwen2.5-VL-72B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct", "type": "VLM", "source": "paper", "params": 73.4, "note": "", "pink": 0.9132, "lo": 0.9053, "hi": 0.9207, "oc": 0.5022, "raw": 1.1221, "graded": 2243, "n": 2244}, {"id": "qwen3.5-9b", "name": "Qwen3.5-9B", "url": "https://huggingface.co/Qwen/Qwen3.5-9B", "type": "VLM", "source": "maintainers", "params": 9.7, "note": "", "pink": 0.9132, "lo": 0.9062, "hi": 0.9201, "oc": 0.3703, "raw": 1.0349, "graded": 2243, "n": 2244}, {"id": "muse-glimmer-30b", "name": "Muse-Glimmer-30B", "url": "https://huggingface.co/meta-models/Muse-Glimmer-30B", "type": "VLM", "source": "maintainers", "params": 29.8, "note": "low reasoning effort", "pink": 0.9128, "lo": 0.9056, "hi": 0.9193, "oc": 0.3525, "raw": 1.017, "graded": 2242, "n": 2244}, {"id": "chandra-ocr-2", "name": "Chandra-OCR-2", "url": "https://huggingface.co/datalab-to/chandra-ocr-2", "type": "OCR", "source": "maintainers", "params": 5.3, "note": "", "pink": 0.912, "lo": 0.905, "hi": 0.9189, "oc": 0.3997, "raw": 1.0469, "graded": 2244, "n": 2244}, {"id": "qwen3-vl-8b-instruct", "name": "Qwen3-VL-8B-Instruct", "url": "https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct", "type": "VLM", "source": "maintainers", "params": 8.8, "note": "", "pink": 0.9101, "lo": 0.9027, "hi": 0.918, "oc": 0.3997, "raw": 1.0475, "graded": 2243, "n": 2244}, {"id": "gpt-4o", "name": "GPT-4o", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.8964, "lo": 0.8878, "hi": 0.9044, "oc": 0.4456, "raw": 1.0729, "graded": 2244, "n": 2244}, {"id": "olmocr-2-7b", "name": "olmOCR-2-7B", "url": "https://huggingface.co/allenai/olmOCR-2-7B-1025", "type": "OCR", "source": "maintainers", "params": 8.3, "note": "", "pink": 0.8866, "lo": 0.878, "hi": 0.8947, "oc": 0.3284, "raw": 0.9781, "graded": 2243, "n": 2244}, {"id": "internvl3.5-8b", "name": "InternVL3.5-8B", "url": "https://huggingface.co/OpenGVLab/InternVL3_5-8B", "type": "VLM", "source": "maintainers", "params": 8.5, "note": "", "pink": 0.8588, "lo": 0.8485, "hi": 0.8693, "oc": 0.3253, "raw": 0.9509, "graded": 2244, "n": 2244}, {"id": "nanonets-ocr2-3b", "name": "Nanonets-OCR2-3B", "url": "https://huggingface.co/nanonets/Nanonets-OCR2-3B", "type": "OCR", "source": "maintainers", "params": 3.8, "note": "", "pink": 0.8446, "lo": 0.8351, "hi": 0.8546, "oc": 0.3048, "raw": 0.9247, "graded": 2244, "n": 2244}, {"id": "scieagle-granite-9b-preview", "name": "SciEagle-Granite-9B (preview)", "url": null, "type": "VLM", "source": "maintainers", "params": 8.8, "note": "ETRI preview, weights not public", "pink": 0.8278, "lo": 0.8161, "hi": 0.8393, "oc": 0.3953, "raw": 0.9631, "graded": 2244, "n": 2244}, {"id": "glm-ocr", "name": "GLM-OCR", "url": "https://huggingface.co/zai-org/GLM-OCR", "type": "OCR", "source": "maintainers", "params": 1.3, "note": "", "pink": 0.825, "lo": 0.8139, "hi": 0.8357, "oc": 0.279, "raw": 0.8913, "graded": 2244, "n": 2244}, {"id": "qwen2.5-vl-7b", "name": "Qwen2.5-VL-7B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct", "type": "VLM", "source": "paper", "params": 8.3, "note": "", "pink": 0.7883, "lo": 0.7743, "hi": 0.8019, "oc": 0.3258, "raw": 0.8832, "graded": 2244, "n": 2244}, {"id": "dots.ocr", "name": "dots.ocr", "url": "https://huggingface.co/dots-studio/dots.ocr", "type": "OCR", "source": "maintainers", "params": 3.0, "note": "", "pink": 0.7751, "lo": 0.7635, "hi": 0.787, "oc": 0.2674, "raw": 0.8431, "graded": 2242, "n": 2244}, {"id": "paddleocr-vl-1.6", "name": "PaddleOCR-VL-1.6", "url": "https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.6", "type": "OCR", "source": "maintainers", "params": 1.0, "note": "", "pink": 0.7221, "lo": 0.7089, "hi": 0.7354, "oc": 0.2464, "raw": 0.781, "graded": 2244, "n": 2244}, {"id": "unlimited-ocr", "name": "Unlimited-OCR", "url": "https://huggingface.co/baidu/Unlimited-OCR", "type": "OCR", "source": "maintainers", "params": 3.3, "note": "", "pink": 0.6903, "lo": 0.6777, "hi": 0.7034, "oc": 0.2429, "raw": 0.7487, "graded": 2243, "n": 2244}, {"id": "unlimited-ocr-2", "name": "Unlimited-OCR-2", "url": "https://huggingface.co/baidu/Unlimited-OCR-2", "type": "OCR", "source": "maintainers", "params": 3.3, "note": "", "pink": 0.6755, "lo": 0.6626, "hi": 0.6899, "oc": 0.2451, "raw": 0.7326, "graded": 2214, "n": 2244}, {"id": "d1-2b", "name": "d1-2B", "url": "https://huggingface.co/LiquidAI/d1-2B", "type": "VLM", "source": "maintainers", "params": 1.9, "note": "", "pink": 0.5384, "lo": 0.5213, "hi": 0.5548, "oc": 0.2634, "raw": 0.6106, "graded": 2240, "n": 2244}, {"id": "deepseek-ocr-2", "name": "DeepSeek-OCR-2", "url": "https://huggingface.co/deepseek-ai/DeepSeek-OCR-2", "type": "OCR", "source": "maintainers", "params": 3.4, "note": "", "pink": 0.5318, "lo": 0.5163, "hi": 0.5468, "oc": 0.2193, "raw": 0.5918, "graded": 2244, "n": 2244}]}, {"id": "gpt-5", "label": "GPT-5", "sub": "paper, Table 1", "desc": "The paper's main results: GPT-5 (reasoning effort medium) as the judge, on all 2,244 FERMAT samples.", "notes": ["The printed Table 1 swaps the two Pixtral PINK values; these are the correct ones.", "As in the paper, samples the judge could not grade are left out for these rows."], "rows": [{"id": "gemini-2.5-flash", "name": "Gemini 2.5 Flash", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.9347, "lo": 0.9299, "hi": 0.9395, "oc": 0.5926, "raw": 1.0277, "graded": 2241, "n": 2244}, {"id": "qwen2.5-vl-72b", "name": "Qwen2.5-VL-72B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct", "type": "VLM", "source": "paper", "params": 73.4, "note": "", "pink": 0.9203, "lo": 0.9145, "hi": 0.9263, "oc": 0.6573, "raw": 1.0978, "graded": 2244, "n": 2244}, {"id": "qwen2.5-vl-32b", "name": "Qwen2.5-VL-32B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-32B-Instruct", "type": "VLM", "source": "paper", "params": 33.5, "note": "", "pink": 0.919, "lo": 0.913, "hi": 0.925, "oc": 0.6622, "raw": 1.0949, "graded": 2244, "n": 2244}, {"id": "ovis2-34b", "name": "Ovis2-34B", "url": "https://huggingface.co/AIDC-AI/Ovis2-34B", "type": "VLM", "source": "paper", "params": 34.9, "note": "", "pink": 0.9165, "lo": 0.9105, "hi": 0.9223, "oc": 0.6252, "raw": 1.0514, "graded": 2244, "n": 2244}, {"id": "internvl3-78b", "name": "InternVL3-78B", "url": "https://huggingface.co/OpenGVLab/InternVL3-78B", "type": "VLM", "source": "paper", "params": 78.4, "note": "", "pink": 0.9105, "lo": 0.9042, "hi": 0.9165, "oc": 0.5849, "raw": 1.014, "graded": 2243, "n": 2244}, {"id": "gpt-4o", "name": "GPT-4o", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.9075, "lo": 0.9004, "hi": 0.9142, "oc": 0.6225, "raw": 1.0511, "graded": 2244, "n": 2244}, {"id": "internvl3-38b", "name": "InternVL3-38B", "url": "https://huggingface.co/OpenGVLab/InternVL3-38B", "type": "VLM", "source": "paper", "params": 38.4, "note": "", "pink": 0.9054, "lo": 0.8987, "hi": 0.9119, "oc": 0.5879, "raw": 1.0113, "graded": 2242, "n": 2244}, {"id": "ovis2-8b", "name": "Ovis2-8B", "url": "https://huggingface.co/AIDC-AI/Ovis2-8B", "type": "VLM", "source": "paper", "params": 8.9, "note": "", "pink": 0.8874, "lo": 0.8799, "hi": 0.8949, "oc": 0.5357, "raw": 0.9629, "graded": 2244, "n": 2244}, {"id": "internvl3-8b", "name": "InternVL3-8B", "url": "https://huggingface.co/OpenGVLab/InternVL3-8B", "type": "VLM", "source": "paper", "params": 7.9, "note": "", "pink": 0.8732, "lo": 0.8647, "hi": 0.8808, "oc": 0.5076, "raw": 0.9379, "graded": 2244, "n": 2244}, {"id": "pixtral-large", "name": "Pixtral-Large", "url": "https://huggingface.co/mistralai/Pixtral-Large-Instruct-2411", "type": "VLM", "source": "paper", "params": 124.0, "note": "", "pink": 0.8495, "lo": 0.8398, "hi": 0.8583, "oc": 0.5609, "raw": 0.973, "graded": 2243, "n": 2244}, {"id": "qwen2.5-vl-7b", "name": "Qwen2.5-VL-7B", "url": "https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct", "type": "VLM", "source": "paper", "params": 8.3, "note": "", "pink": 0.8319, "lo": 0.8202, "hi": 0.8437, "oc": 0.5461, "raw": 0.9102, "graded": 2243, "n": 2244}, {"id": "llama-3.2-90b-vision", "name": "Llama-3.2-90B-Vision", "url": "https://huggingface.co/meta-llama/Llama-3.2-90B-Vision-Instruct", "type": "VLM", "source": "paper", "params": 88.6, "note": "", "pink": 0.8145, "lo": 0.8035, "hi": 0.825, "oc": 0.5013, "raw": 0.902, "graded": 2244, "n": 2244}, {"id": "gpt-4o-mini", "name": "GPT-4o mini", "url": null, "type": "VLM", "source": "paper", "params": null, "note": "API", "pink": 0.7871, "lo": 0.7748, "hi": 0.799, "oc": 0.496, "raw": 0.8817, "graded": 2244, "n": 2244}, {"id": "pixtral-12b", "name": "Pixtral-12B", "url": "https://huggingface.co/mistralai/Pixtral-12B-2409", "type": "VLM", "source": "paper", "params": 12.4, "note": "", "pink": 0.7217, "lo": 0.7089, "hi": 0.7352, "oc": 0.4389, "raw": 0.8013, "graded": 2244, "n": 2244}, {"id": "llama-3.2-11b-vision", "name": "Llama-3.2-11B-Vision", "url": "https://huggingface.co/meta-llama/Llama-3.2-11B-Vision-Instruct", "type": "VLM", "source": "paper", "params": 10.7, "note": "", "pink": 0.6762, "lo": 0.662, "hi": 0.6906, "oc": 0.4211, "raw": 0.7582, "graded": 2244, "n": 2244}]}]}; // {updated, tabs: [{id, label, sub, desc, rows|null, notes}]}, refreshed from the live leaderboard below
265
+ const LIVE = "https://codeworker-pink-leaderboard.static.hf.space/leaderboard.json";
266
  const esc = s => String(s).replace(/[&<>"]/g, c => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" }[c]));
267
  const bar = (v, lo, hi, w) => Math.max(4, Math.round((v - lo) / (hi - lo) * w));
268
 
 
272
  ["10–40B", r => sizeBand(r.params) === "10–40B"], ["> 40B / API", r => ["> 40B", "API"].includes(sizeBand(r.params))]];
273
  let current = 0;
274
  let tab = Math.max(0, LB.tabs.findIndex(t => t.rows)); // the closest-to-GPT-5 tab is first; fall back while it is pending
275
+ let touched = false;
276
  function renderTabs() {
277
  const host = document.querySelector(".tabs");
278
  host.innerHTML = LB.tabs.map((t, i) => `<button class="tab" type="button" role="tab" aria-selected="${i === tab}" data-t="${i}">` +
279
  `<b>${esc(t.label)}</b><span>${esc(t.sub)}${t.rows ? "" : " · grading"}</span></button>`).join("");
280
+ host.querySelectorAll(".tab").forEach(b => b.addEventListener("click", () => { tab = +b.dataset.t; current = 0; touched = true; renderTabs(); renderLB(); }));
281
  document.getElementById("lb-desc").textContent = LB.tabs[tab].desc;
282
  }
283
  function renderLB() {
 
310
  renderTabs();
311
  renderLB();
312
  document.querySelectorAll("a[data-tab]").forEach(a => a.addEventListener("click", () => {
313
+ tab = Math.max(0, LB.tabs.findIndex(t => t.id === a.dataset.tab)); current = 0; touched = true; renderTabs(); renderLB();
314
  }));
315
+ // The HF Space holds the living leaderboard: show its newer tables when it can be reached (the inline copy is the fallback).
316
+ fetch(LIVE, { cache: "no-cache" }).then(r => r.ok ? r.json() : null).then(d => {
317
+ if (!d || !Array.isArray(d.tabs) || (d.updated || "") < (LB.updated || "") || JSON.stringify(d) === JSON.stringify(LB)) return;
318
+ const id = LB.tabs[tab].id;
319
+ LB = d;
320
+ tab = Math.max(0, touched ? LB.tabs.findIndex(t => t.id === id) : LB.tabs.findIndex(t => t.rows));
321
+ document.querySelectorAll(".updated").forEach(e => { e.textContent = "updated " + LB.updated; });
322
+ renderTabs(); renderLB();
323
+ }).catch(() => {});
324
 
325
  document.querySelectorAll(".copy").forEach(btn => btn.addEventListener("click", async () => {
326
  const el = document.getElementById(btn.dataset.target);
scripts/page_template.html CHANGED
@@ -261,7 +261,8 @@ HfApi().upload_folder(repo_id="CodeWorker/PINK-Leaderboard", repo_type="space",
261
 
262
  <script>
263
 
264
- const LB = __LB_DATA__; // {tabs: [{id, label, sub, desc, rows|null, notes}]}
 
265
  const esc = s => String(s).replace(/[&<>"]/g, c => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" }[c]));
266
  const bar = (v, lo, hi, w) => Math.max(4, Math.round((v - lo) / (hi - lo) * w));
267
 
@@ -271,11 +272,12 @@ const FILTERS = [["All", () => true], ["General VLMs", r => r.type === "VLM"], [
271
  ["10–40B", r => sizeBand(r.params) === "10–40B"], ["> 40B / API", r => ["> 40B", "API"].includes(sizeBand(r.params))]];
272
  let current = 0;
273
  let tab = Math.max(0, LB.tabs.findIndex(t => t.rows)); // the closest-to-GPT-5 tab is first; fall back while it is pending
 
274
  function renderTabs() {
275
  const host = document.querySelector(".tabs");
276
  host.innerHTML = LB.tabs.map((t, i) => `<button class="tab" type="button" role="tab" aria-selected="${i === tab}" data-t="${i}">` +
277
  `<b>${esc(t.label)}</b><span>${esc(t.sub)}${t.rows ? "" : " · grading"}</span></button>`).join("");
278
- host.querySelectorAll(".tab").forEach(b => b.addEventListener("click", () => { tab = +b.dataset.t; current = 0; renderTabs(); renderLB(); }));
279
  document.getElementById("lb-desc").textContent = LB.tabs[tab].desc;
280
  }
281
  function renderLB() {
@@ -308,8 +310,17 @@ function renderLB() {
308
  renderTabs();
309
  renderLB();
310
  document.querySelectorAll("a[data-tab]").forEach(a => a.addEventListener("click", () => {
311
- tab = Math.max(0, LB.tabs.findIndex(t => t.id === a.dataset.tab)); current = 0; renderTabs(); renderLB();
312
  }));
 
 
 
 
 
 
 
 
 
313
 
314
  document.querySelectorAll(".copy").forEach(btn => btn.addEventListener("click", async () => {
315
  const el = document.getElementById(btn.dataset.target);
 
261
 
262
  <script>
263
 
264
+ let LB = __LB_DATA__; // {updated, tabs: [{id, label, sub, desc, rows|null, notes}]}, refreshed from the live leaderboard below
265
+ const LIVE = "https://codeworker-pink-leaderboard.static.hf.space/leaderboard.json";
266
  const esc = s => String(s).replace(/[&<>"]/g, c => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" }[c]));
267
  const bar = (v, lo, hi, w) => Math.max(4, Math.round((v - lo) / (hi - lo) * w));
268
 
 
272
  ["10–40B", r => sizeBand(r.params) === "10–40B"], ["> 40B / API", r => ["> 40B", "API"].includes(sizeBand(r.params))]];
273
  let current = 0;
274
  let tab = Math.max(0, LB.tabs.findIndex(t => t.rows)); // the closest-to-GPT-5 tab is first; fall back while it is pending
275
+ let touched = false;
276
  function renderTabs() {
277
  const host = document.querySelector(".tabs");
278
  host.innerHTML = LB.tabs.map((t, i) => `<button class="tab" type="button" role="tab" aria-selected="${i === tab}" data-t="${i}">` +
279
  `<b>${esc(t.label)}</b><span>${esc(t.sub)}${t.rows ? "" : " · grading"}</span></button>`).join("");
280
+ host.querySelectorAll(".tab").forEach(b => b.addEventListener("click", () => { tab = +b.dataset.t; current = 0; touched = true; renderTabs(); renderLB(); }));
281
  document.getElementById("lb-desc").textContent = LB.tabs[tab].desc;
282
  }
283
  function renderLB() {
 
310
  renderTabs();
311
  renderLB();
312
  document.querySelectorAll("a[data-tab]").forEach(a => a.addEventListener("click", () => {
313
+ tab = Math.max(0, LB.tabs.findIndex(t => t.id === a.dataset.tab)); current = 0; touched = true; renderTabs(); renderLB();
314
  }));
315
+ // The HF Space holds the living leaderboard: show its newer tables when it can be reached (the inline copy is the fallback).
316
+ fetch(LIVE, { cache: "no-cache" }).then(r => r.ok ? r.json() : null).then(d => {
317
+ if (!d || !Array.isArray(d.tabs) || (d.updated || "") < (LB.updated || "") || JSON.stringify(d) === JSON.stringify(LB)) return;
318
+ const id = LB.tabs[tab].id;
319
+ LB = d;
320
+ tab = Math.max(0, touched ? LB.tabs.findIndex(t => t.id === id) : LB.tabs.findIndex(t => t.rows));
321
+ document.querySelectorAll(".updated").forEach(e => { e.textContent = "updated " + LB.updated; });
322
+ renderTabs(); renderLB();
323
+ }).catch(() => {});
324
 
325
  document.querySelectorAll(".copy").forEach(btn => btn.addEventListener("click", async () => {
326
  const el = document.getElementById(btn.dataset.target);