CompactAI commited on
Commit
113293e
·
verified ·
1 Parent(s): fc71a15

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +52 -0
index.html CHANGED
@@ -86,6 +86,29 @@ body {
86
  .info-banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
87
  .info-banner a { color: var(--accent); text-decoration: none; }
88
  .info-banner a:hover { text-decoration: underline; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  .section { margin-bottom: 1.5rem; }
90
  .timeline-toolbar {
91
  display: flex; align-items: center; gap: 6px;
@@ -604,6 +627,22 @@ footer a:hover { text-decoration: underline; }
604
  <a href="https://huggingface.co/spaces/CompactAI-O/Tiny-ML-Leaderboard/discussions" target="_blank">Submit a model via PR.</a>
605
  </div>
606
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
607
  <div class="section anim d3" id="table-section">
608
  <div class="section-head">
609
  <h2>Detailed Results</h2>
@@ -1148,6 +1187,7 @@ const orgNameMap = {
1148
  GODELEV: 'GODELEV',
1149
  finnianx: 'finnianx',
1150
  ivmelabs: 'IvmeLabs',
 
1151
  };
1152
 
1153
  const colorMap = {
@@ -1160,6 +1200,7 @@ const colorMap = {
1160
  GODELEV: '#1a56db',
1161
  finnianx: '#06b6d4',
1162
  ivmelabs: '#ff0000',
 
1163
  };
1164
 
1165
  const bgMap = {};
@@ -1930,6 +1971,17 @@ function buildOrgCountChart() {
1930
  });
1931
  }
1932
 
 
 
 
 
 
 
 
 
 
 
 
1933
  /* ─── Init ─── */
1934
 
1935
  window.addEventListener('DOMContentLoaded', () => {
 
86
  .info-banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
87
  .info-banner a { color: var(--accent); text-decoration: none; }
88
  .info-banner a:hover { text-decoration: underline; }
89
+ .info-banner.clickable { cursor: pointer; user-select: none; }
90
+ .info-banner.clickable:hover { border-color: var(--accent); }
91
+ .banner-expand {
92
+ max-height: 0; overflow: hidden;
93
+ transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
94
+ opacity: 0; margin-top: 0;
95
+ }
96
+ .banner-expand.open {
97
+ max-height: 300px; opacity: 1; margin-top: 10px;
98
+ }
99
+ .banner-expand-inner {
100
+ padding: 0.85rem 1rem; background: var(--bg); border-radius: var(--radius-xs);
101
+ border: 1px solid var(--border-light); font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65;
102
+ }
103
+ .banner-expand-inner code {
104
+ background: rgba(88,166,255,0.1); padding: 1px 5px; border-radius: 3px;
105
+ font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.82rem; color: var(--accent);
106
+ }
107
+ .banner-hint {
108
+ font-size: 0.75rem; color: var(--text-muted); margin-left: 6px;
109
+ transition: transform 0.25s ease; display: inline-block;
110
+ }
111
+ .banner-hint.rotated { transform: rotate(180deg); }
112
  .section { margin-bottom: 1.5rem; }
113
  .timeline-toolbar {
114
  display: flex; align-items: center; gap: 6px;
 
627
  <a href="https://huggingface.co/spaces/CompactAI-O/Tiny-ML-Leaderboard/discussions" target="_blank">Submit a model via PR.</a>
628
  </div>
629
  </div>
630
+ <div class="info-banner anim d2 clickable" id="unknown-banner" onclick="toggleUnknownBanner()">
631
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M12 2L2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5"/><path d="M2 12l10 5 10-5"/></svg>
632
+ <div style="flex:1">
633
+ <div style="display:flex;align-items:center;gap:4px;flex-wrap:wrap">
634
+ <strong>Unknown org?</strong>
635
+ <span>The "Unknown" tag is for model makers submitting their model ahead of official release.</span>
636
+ <span>If that's you — DM <strong>glintresearch</strong> on Discord.</span>
637
+ <span class="banner-hint" id="banner-hint">▼</span>
638
+ </div>
639
+ <div class="banner-expand" id="banner-expand">
640
+ <div class="banner-expand-inner">
641
+ Model makers can submit their model's benchmarks before the official release so it appears on the leaderboard immediately when announced. The <strong>Unknown</strong> tag is temporary — once you DM <strong>glintresearch</strong> on Discord we can update it to your organization name and color.
642
+ </div>
643
+ </div>
644
+ </div>
645
+ </div>
646
  <div class="section anim d3" id="table-section">
647
  <div class="section-head">
648
  <h2>Detailed Results</h2>
 
1187
  GODELEV: 'GODELEV',
1188
  finnianx: 'finnianx',
1189
  ivmelabs: 'IvmeLabs',
1190
+ unknown: 'Unknown',
1191
  };
1192
 
1193
  const colorMap = {
 
1200
  GODELEV: '#1a56db',
1201
  finnianx: '#06b6d4',
1202
  ivmelabs: '#ff0000',
1203
+ unknown: '#000000',
1204
  };
1205
 
1206
  const bgMap = {};
 
1971
  });
1972
  }
1973
 
1974
+ /* ─── Toggle Banner ─── */
1975
+
1976
+ function toggleUnknownBanner() {
1977
+ const expand = document.getElementById('banner-expand');
1978
+ const hint = document.getElementById('banner-hint');
1979
+ if (!expand) return;
1980
+ const isOpen = expand.classList.contains('open');
1981
+ expand.classList.toggle('open');
1982
+ if (hint) hint.classList.toggle('rotated');
1983
+ }
1984
+
1985
  /* ─── Init ─── */
1986
 
1987
  window.addEventListener('DOMContentLoaded', () => {