Spaces:
Running
Running
File size: 13,073 Bytes
49be56e | 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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kimi K2.5 Output Formation Ledger Explorer</title>
<style>
:root {
--bg: #0d1117; --surface: #161b22; --border: #30363d;
--text: #c9d1d9; --text-dim: #8b949e; --accent: #58a6ff;
--green: #3fb950; --orange: #d29922; --red: #f85149;
--measured: #3fb950; --derived: #58a6ff;
--mono: 'SF Mono','Cascadia Code','Fira Code',monospace;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:var(--mono); font-size:13px; background:var(--bg); color:var(--text); line-height:1.5; }
.header { border-bottom:1px solid var(--border); padding:16px 24px; }
.header h1 { font-size:16px; font-weight:600; margin-bottom:4px; }
.header .meta { color:var(--text-dim); font-size:11px; }
.signpost-bar { background:var(--surface); border-bottom:1px solid var(--border); padding:8px 24px; font-size:11px; color:var(--text-dim); display:flex; gap:16px; flex-wrap:wrap; }
.signpost-bar .tag { display:inline-flex; align-items:center; gap:4px; }
.dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
.dot-m { background:var(--measured); } .dot-d { background:var(--derived); }
.main { display:grid; grid-template-columns:280px 1fr; height:calc(100vh - 110px); }
.sidebar { border-right:1px solid var(--border); overflow-y:auto; padding:16px; }
.sidebar h2 { font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-dim); margin-bottom:12px; margin-top:16px; }
.sidebar h2:first-child { margin-top:0; }
.token-timeline { display:flex; flex-direction:column; gap:4px; margin-bottom:12px; }
.token-step { display:flex; justify-content:space-between; align-items:center; padding:6px 8px; border:1px solid var(--border); border-radius:4px; cursor:pointer; font-size:11px; }
.token-step:hover { background:var(--surface); }
.token-step.selected { background:#1c2333; border-color:var(--accent); }
.token-step .tok-id { color:var(--accent); font-weight:600; }
.token-step .tok-logit { color:var(--text-dim); }
.summary-box { background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:12px; margin-bottom:16px; }
.summary-box .row { display:flex; justify-content:space-between; margin-bottom:4px; font-size:11px; }
.summary-box .label { color:var(--text-dim); }
.summary-box .value { color:var(--text); font-weight:600; }
.provenance-legend .item { display:flex; align-items:center; gap:6px; margin-bottom:4px; font-size:11px; }
.content { overflow-y:auto; padding:16px 24px; }
.content h2 { font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-dim); margin-bottom:12px; margin-top:24px; }
.content h2:first-child { margin-top:0; }
.norm-chart { display:flex; align-items:flex-end; gap:2px; height:120px; padding:8px 0; border-bottom:1px solid var(--border); margin-bottom:8px; }
.norm-bar { flex:1; background:var(--accent); min-width:2px; border-radius:1px 1px 0 0; cursor:pointer; transition:opacity .15s; }
.norm-bar:hover { opacity:.8; } .norm-bar.selected { background:var(--green); } .norm-bar.dense { background:var(--orange); }
.norm-labels { display:flex; justify-content:space-between; font-size:10px; color:var(--text-dim); margin-bottom:16px; }
.layer-table { width:100%; border-collapse:collapse; font-size:11px; }
.layer-table th { text-align:left; padding:6px 8px; border-bottom:2px solid var(--border); color:var(--text-dim); font-weight:500; position:sticky; top:0; background:var(--bg); }
.layer-table td { padding:4px 8px; border-bottom:1px solid var(--border); }
.layer-table tr:hover { background:var(--surface); } .layer-table tr.selected { background:#1c2333; }
.prov { width:8px; height:8px; border-radius:50%; display:inline-block; margin-right:4px; }
.routing-cell { max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; color:var(--text-dim); }
.detail-panel { background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:16px; margin-top:16px; }
.detail-panel h3 { font-size:12px; margin-bottom:8px; color:var(--accent); }
.detail-row { display:flex; justify-content:space-between; padding:2px 0; font-size:11px; }
.detail-row .label { color:var(--text-dim); } .detail-row .value { color:var(--text); }
.routing-detail { display:grid; grid-template-columns:repeat(4,1fr); gap:4px; margin-top:8px; }
.expert-chip { background:var(--bg); border:1px solid var(--border); border-radius:4px; padding:4px 6px; font-size:10px; text-align:center; }
.expert-chip .id { color:var(--accent); font-weight:600; } .expert-chip .wt { color:var(--text-dim); }
.byte-footer { border-top:1px solid var(--border); padding:8px 24px; font-size:11px; color:var(--text-dim); display:flex; justify-content:space-between; position:fixed; bottom:0; left:0; right:0; background:var(--surface); }
.error-banner { background:#2d1214; border:1px solid var(--red); color:var(--red); padding:12px 24px; text-align:center; }
.top-k-list .entry { display:flex; justify-content:space-between; padding:2px 0; border-bottom:1px solid var(--border); font-size:11px; }
.top-k-list .winner { color:var(--green); font-weight:600; }
</style>
</head>
<body>
<div id="app"><div class="error-banner" id="error" style="display:none"></div></div>
<script>
</script>
</body>
</html>
|