lewtun HF Staff Codex commited on
Commit
19d4224
·
1 Parent(s): a5edae5

Label chart as PyBot and remove supporting chart copy

Browse files
Files changed (2) hide show
  1. site/index.html +1 -4
  2. site/progress.js +4 -4
site/index.html CHANGED
@@ -84,11 +84,8 @@
84
  <p class="foot">PyBot at commit <a id="commit" target="_blank" rel="noopener"></a>. Click a file to open it on the Hub.</p>
85
  <section class="progress" aria-labelledby="progress-title">
86
  <h2 id="progress-title">Learning to converse, one revision at a time</h2>
87
- <p>SwarmChat-v8 on SmolTalkBench, compared with the SmolLM Instruct models.</p>
88
- <div id="progress-chart" role="img" aria-label="Line chart of SwarmChat-v8 win rate over evaluated revisions, with three SmolLM baselines"></div>
89
  <p class="foot" id="progress-status" aria-live="polite">Loading evaluation history…</p>
90
- <p class="foot">Length-penalised win rate on 1,000 prompts. November 7 outage evaluations are excluded; revision numbers are preserved.
91
- Source: <a href="https://huggingface.co/spaces/HuggingFaceSwarms/swarmchat-leaderboard" target="_blank" rel="noopener">SwarmChat leaderboard</a>.</p>
92
  </section>
93
  </main>
94
  <script>/**
 
84
  <p class="foot">PyBot at commit <a id="commit" target="_blank" rel="noopener"></a>. Click a file to open it on the Hub.</p>
85
  <section class="progress" aria-labelledby="progress-title">
86
  <h2 id="progress-title">Learning to converse, one revision at a time</h2>
87
+ <div id="progress-chart" role="img" aria-label="Line chart of PyBot win rate over evaluated revisions, with three SmolLM baselines"></div>
 
88
  <p class="foot" id="progress-status" aria-live="polite">Loading evaluation history…</p>
 
 
89
  </section>
90
  </main>
91
  <script>/**
site/progress.js CHANGED
@@ -7,11 +7,11 @@ async function drawProgress() {
7
  const points = data.points;
8
  const extent = [points[0].revision, points[points.length - 1].revision];
9
  const traces = [{
10
- type: "scatter", mode: "lines", name: "SwarmChat-v8",
11
  x: points.map(p => p.revision), y: points.map(p => p.score),
12
  customdata: points.map(p => p.commit),
13
  line: {color: "#eb6834", width: 2},
14
- hovertemplate: "v8 · revision %{x:,}<br>Win rate: %{y:.2f}%<br>Commit %{customdata}<extra></extra>"
15
  }, ...data.baselines.map((baseline, index) => ({
16
  type: "scatter", mode: "lines",
17
  name: `${baseline.name} (${baseline.score.toFixed(1)}%)`,
@@ -31,10 +31,10 @@ async function drawProgress() {
31
  legend: {orientation: "h", x: 0, y: -0.25, yanchor: "top", font: {size: 11}},
32
  hoverlabel: {bgcolor: "#ffffff", bordercolor: "#000000"}
33
  }, {responsive: true, displayModeBar: false, displaylogo: false});
34
- status.textContent = `${points.length.toLocaleString()} evaluations shown · ${data.excluded} outage evaluations excluded · Snapshot ${data.fetched_at.slice(0, 10)}.`;
35
  } catch (error) {
36
  document.getElementById("progress-chart").hidden = true;
37
- status.textContent = "The progress chart is unavailable. View the evaluation history on the leaderboard below.";
38
  }
39
  }
40
  drawProgress();
 
7
  const points = data.points;
8
  const extent = [points[0].revision, points[points.length - 1].revision];
9
  const traces = [{
10
+ type: "scatter", mode: "lines", name: "PyBot",
11
  x: points.map(p => p.revision), y: points.map(p => p.score),
12
  customdata: points.map(p => p.commit),
13
  line: {color: "#eb6834", width: 2},
14
+ hovertemplate: "PyBot · revision %{x:,}<br>Win rate: %{y:.2f}%<br>Commit %{customdata}<extra></extra>"
15
  }, ...data.baselines.map((baseline, index) => ({
16
  type: "scatter", mode: "lines",
17
  name: `${baseline.name} (${baseline.score.toFixed(1)}%)`,
 
31
  legend: {orientation: "h", x: 0, y: -0.25, yanchor: "top", font: {size: 11}},
32
  hoverlabel: {bgcolor: "#ffffff", bordercolor: "#000000"}
33
  }, {responsive: true, displayModeBar: false, displaylogo: false});
34
+ status.hidden = true;
35
  } catch (error) {
36
  document.getElementById("progress-chart").hidden = true;
37
+ status.textContent = "The progress chart is currently unavailable.";
38
  }
39
  }
40
  drawProgress();