Spaces:
Running
Running
HTML /demo: add Benchmark visuals table and three chart figures.
Browse filesNav link to #benchmark-visuals; metric snapshot table; chart-performance-leap, chart-comparison-shift, chart-spider-benchmark with captions.
Made-with: Cursor
- server/demo_page.html +94 -0
server/demo_page.html
CHANGED
|
@@ -507,6 +507,49 @@
|
|
| 507 |
width: 100%;
|
| 508 |
height: auto;
|
| 509 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 510 |
.link-list a {
|
| 511 |
color: var(--accent);
|
| 512 |
text-decoration: none;
|
|
@@ -590,6 +633,7 @@
|
|
| 590 |
<a href="#environment">Environment</a>
|
| 591 |
<a href="#first-training">First Training</a>
|
| 592 |
<a href="#playground">Playground</a>
|
|
|
|
| 593 |
<a href="#evidence">Evidence</a>
|
| 594 |
<a href="#repro">Reproduce</a>
|
| 595 |
<a href="/gradio/">Gradio</a>
|
|
@@ -708,6 +752,56 @@ import wandb
|
|
| 708 |
</div>
|
| 709 |
</section>
|
| 710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 711 |
<section id="evidence" class="section" aria-labelledby="evidence-title">
|
| 712 |
<div class="section-head">
|
| 713 |
<p class="section-id">Evidence 路 Artifacts</p>
|
|
|
|
| 507 |
width: 100%;
|
| 508 |
height: auto;
|
| 509 |
}
|
| 510 |
+
.metric-table {
|
| 511 |
+
width: 100%;
|
| 512 |
+
border-collapse: collapse;
|
| 513 |
+
font-size: 0.9375rem;
|
| 514 |
+
}
|
| 515 |
+
.metric-table th,
|
| 516 |
+
.metric-table td {
|
| 517 |
+
text-align: left;
|
| 518 |
+
padding: 10px 14px;
|
| 519 |
+
border-bottom: 1px solid var(--space-border);
|
| 520 |
+
vertical-align: top;
|
| 521 |
+
}
|
| 522 |
+
.metric-table thead th {
|
| 523 |
+
font-weight: 700;
|
| 524 |
+
color: var(--ink);
|
| 525 |
+
background: var(--space-bg-elevated);
|
| 526 |
+
font-size: 0.75rem;
|
| 527 |
+
letter-spacing: 0.06em;
|
| 528 |
+
text-transform: uppercase;
|
| 529 |
+
}
|
| 530 |
+
.metric-table tbody td:first-child {
|
| 531 |
+
color: var(--ink);
|
| 532 |
+
max-width: 28ch;
|
| 533 |
+
}
|
| 534 |
+
.metric-table tbody td:last-child {
|
| 535 |
+
font-weight: 700;
|
| 536 |
+
font-variant-numeric: tabular-nums;
|
| 537 |
+
color: var(--accent);
|
| 538 |
+
}
|
| 539 |
+
.metric-table tbody tr:last-child td {
|
| 540 |
+
border-bottom: none;
|
| 541 |
+
}
|
| 542 |
+
.benchmark-chart-grid {
|
| 543 |
+
display: grid;
|
| 544 |
+
gap: 16px;
|
| 545 |
+
grid-template-columns: 1fr;
|
| 546 |
+
margin-top: 18px;
|
| 547 |
+
}
|
| 548 |
+
@media (min-width: 900px) {
|
| 549 |
+
.benchmark-chart-grid {
|
| 550 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
| 551 |
+
}
|
| 552 |
+
}
|
| 553 |
.link-list a {
|
| 554 |
color: var(--accent);
|
| 555 |
text-decoration: none;
|
|
|
|
| 633 |
<a href="#environment">Environment</a>
|
| 634 |
<a href="#first-training">First Training</a>
|
| 635 |
<a href="#playground">Playground</a>
|
| 636 |
+
<a href="#benchmark-visuals">Benchmark</a>
|
| 637 |
<a href="#evidence">Evidence</a>
|
| 638 |
<a href="#repro">Reproduce</a>
|
| 639 |
<a href="/gradio/">Gradio</a>
|
|
|
|
| 752 |
</div>
|
| 753 |
</section>
|
| 754 |
|
| 755 |
+
<section id="benchmark-visuals" class="section" aria-labelledby="benchmark-visuals-title">
|
| 756 |
+
<div class="section-head">
|
| 757 |
+
<p class="section-id">Evidence 路 Charts</p>
|
| 758 |
+
<h2 id="benchmark-visuals-title">Benchmark visuals</h2>
|
| 759 |
+
<p>Metric snapshot aligned with committed charts under <code style="font-family:var(--font-mono);font-size:0.85em;background:#f1f5f9;padding:2px 6px;border-radius:4px">server/static/</code> (same figures as the Gradio page).</p>
|
| 760 |
+
</div>
|
| 761 |
+
<div class="panel">
|
| 762 |
+
<table class="metric-table" aria-label="Benchmark metric snapshot">
|
| 763 |
+
<thead>
|
| 764 |
+
<tr>
|
| 765 |
+
<th scope="col">Metric snapshot</th>
|
| 766 |
+
<th scope="col">Value</th>
|
| 767 |
+
</tr>
|
| 768 |
+
</thead>
|
| 769 |
+
<tbody>
|
| 770 |
+
<tr>
|
| 771 |
+
<td>Spider chart: Industry baseline</td>
|
| 772 |
+
<td>48.2%</td>
|
| 773 |
+
</tr>
|
| 774 |
+
<tr>
|
| 775 |
+
<td>Spider chart: Qwen-7B base</td>
|
| 776 |
+
<td>52.4%</td>
|
| 777 |
+
</tr>
|
| 778 |
+
<tr>
|
| 779 |
+
<td>Spider chart: RL agent</td>
|
| 780 |
+
<td>78.5%</td>
|
| 781 |
+
</tr>
|
| 782 |
+
<tr>
|
| 783 |
+
<td>Performance leap chart</td>
|
| 784 |
+
<td>0.0% -> 25.0% (base to RL in that run view)</td>
|
| 785 |
+
</tr>
|
| 786 |
+
</tbody>
|
| 787 |
+
</table>
|
| 788 |
+
</div>
|
| 789 |
+
<div class="benchmark-chart-grid">
|
| 790 |
+
<figure class="proof-card">
|
| 791 |
+
<img src="/static/chart-performance-leap.png" alt="Performance leap: baseline versus RL on a Spider-style headline view" width="900" height="520" loading="lazy" decoding="async" />
|
| 792 |
+
<figcaption>Performance leap (Spider-style)</figcaption>
|
| 793 |
+
</figure>
|
| 794 |
+
<figure class="proof-card">
|
| 795 |
+
<img src="/static/chart-comparison-shift.png" alt="Comparison of models and reward distribution shift" width="900" height="520" loading="lazy" decoding="async" />
|
| 796 |
+
<figcaption>Comparison + reward shift</figcaption>
|
| 797 |
+
</figure>
|
| 798 |
+
<figure class="proof-card">
|
| 799 |
+
<img src="/static/chart-spider-benchmark.png" alt="Spider-style benchmark headline chart across industry baseline, Qwen-7B base, and RL agent" width="900" height="520" loading="lazy" decoding="async" />
|
| 800 |
+
<figcaption>Spider-style headline chart</figcaption>
|
| 801 |
+
</figure>
|
| 802 |
+
</div>
|
| 803 |
+
</section>
|
| 804 |
+
|
| 805 |
<section id="evidence" class="section" aria-labelledby="evidence-title">
|
| 806 |
<div class="section-head">
|
| 807 |
<p class="section-id">Evidence 路 Artifacts</p>
|