Spaces:
Running on L4
Running on L4
Commit ·
e5e6a84
1
Parent(s): a4b8b4b
Purge remaining "9B" / "Darwin V5" strings from index.html
Browse filesThree leftover strings were still rendering wrong sizing/version in the
UI even after the main rebrand pass:
- Sidebar logo name: "Darwin-9B" -> "Darwin-4B"
- Footer model hint: "9B Dense . BF16 . 131K ctx" -> "Gemma4 4B . BF16 . 131K ctx"
- Vision sample toast: "Vision not supported on 9B model" ->
"Vision tower not loaded in this build" (accurate; vision_tower
weights come up as UNEXPECTED in the Gemma4ForConditionalGeneration
load report, so vision is not actually functional at runtime)
- Example card prompt: "Darwin V5 evolutionary merge" -> "Darwin V6"
(the model repo ships darwin_v6_report.json, so V6 is the real name)
- index.html +4 -4
index.html
CHANGED
|
@@ -254,7 +254,7 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 254 |
<div class="logo-row">
|
| 255 |
<div class="logo-icon">🧬</div>
|
| 256 |
<div class="logo-text">
|
| 257 |
-
<div class="logo-name"><em>Darwin</em>-
|
| 258 |
<div class="logo-sub">Evolutionary Merge</div>
|
| 259 |
</div>
|
| 260 |
</div>
|
|
@@ -373,7 +373,7 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 373 |
<a href="https://huggingface.co/FINAL-Bench/Darwin-4B-David" target="_blank" style="font-size:11px;font-weight:600;padding:4px 12px;border-radius:20px;background:rgba(109,40,217,.08);color:var(--v);border:1px solid rgba(109,40,217,.15);text-decoration:none;transition:all .2s;">🤗 Model Card ↗</a>
|
| 374 |
</div>
|
| 375 |
<div class="ex-grid">
|
| 376 |
-
<div class="ex-card" onclick="sendEx('Explain how Darwin
|
| 377 |
<div class="ex-card" onclick="sendEx('Write a Python async web scraper with retry logic and rate limiting. Include type hints.')"><span class="ex-icon">💻</span><div class="ex-title">Code Generation</div><div class="ex-desc">Production-quality code</div></div>
|
| 378 |
<div class="ex-card" onclick="trySampleVision()"><span class="ex-icon">👁️</span><div class="ex-title">Vision Demo</div><div class="ex-desc">Try image analysis now</div></div>
|
| 379 |
<div class="ex-card" onclick="sendEx('한국의 K-pop이 세계적으로 성공한 이유를 문화적, 경제적 관점에서 분석해주세요.')"><span class="ex-icon">🌐</span><div class="ex-title">201 Languages</div><div class="ex-desc">Korean, Japanese, Arabic…</div></div>
|
|
@@ -404,7 +404,7 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 404 |
<div class="input-hint">
|
| 405 |
<span><span class="kbd">Enter</span> send</span>
|
| 406 |
<span><span class="kbd">Shift+Enter</span> new line</span>
|
| 407 |
-
<span class="model-hint" id="modelHint">
|
| 408 |
</div>
|
| 409 |
</div>
|
| 410 |
</main>
|
|
@@ -476,7 +476,7 @@ function removeImg(){S.pending=null;document.getElementById('imgPrev').classList
|
|
| 476 |
function fmtSz(b){return b<1048576?`${(b/1024).toFixed(0)} KB`:`${(b/1048576).toFixed(1)} MB`;}
|
| 477 |
|
| 478 |
// Vision sample
|
| 479 |
-
function trySampleVision(){ showToast('Vision not
|
| 480 |
const sampleUrl='https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/rabbit.png';
|
| 481 |
S.pending={type:'image',data:sampleUrl,name:'sample_rabbit.png',size:'sample',isUrl:true};
|
| 482 |
document.getElementById('chatInput').value='Describe this image in detail. What story does it tell?';
|
|
|
|
| 254 |
<div class="logo-row">
|
| 255 |
<div class="logo-icon">🧬</div>
|
| 256 |
<div class="logo-text">
|
| 257 |
+
<div class="logo-name"><em>Darwin</em>-4B</div>
|
| 258 |
<div class="logo-sub">Evolutionary Merge</div>
|
| 259 |
</div>
|
| 260 |
</div>
|
|
|
|
| 373 |
<a href="https://huggingface.co/FINAL-Bench/Darwin-4B-David" target="_blank" style="font-size:11px;font-weight:600;padding:4px 12px;border-radius:20px;background:rgba(109,40,217,.08);color:var(--v);border:1px solid rgba(109,40,217,.15);text-decoration:none;transition:all .2s;">🤗 Model Card ↗</a>
|
| 374 |
</div>
|
| 375 |
<div class="ex-grid">
|
| 376 |
+
<div class="ex-card" onclick="sendEx('Explain how Darwin V6 evolutionary merge with Model MRI works, and why it surpasses both parent models.')"><span class="ex-icon">🧬</span><div class="ex-title">Darwin Architecture</div><div class="ex-desc">How evolutionary merge works</div></div>
|
| 377 |
<div class="ex-card" onclick="sendEx('Write a Python async web scraper with retry logic and rate limiting. Include type hints.')"><span class="ex-icon">💻</span><div class="ex-title">Code Generation</div><div class="ex-desc">Production-quality code</div></div>
|
| 378 |
<div class="ex-card" onclick="trySampleVision()"><span class="ex-icon">👁️</span><div class="ex-title">Vision Demo</div><div class="ex-desc">Try image analysis now</div></div>
|
| 379 |
<div class="ex-card" onclick="sendEx('한국의 K-pop이 세계적으로 성공한 이유를 문화적, 경제적 관점에서 분석해주세요.')"><span class="ex-icon">🌐</span><div class="ex-title">201 Languages</div><div class="ex-desc">Korean, Japanese, Arabic…</div></div>
|
|
|
|
| 404 |
<div class="input-hint">
|
| 405 |
<span><span class="kbd">Enter</span> send</span>
|
| 406 |
<span><span class="kbd">Shift+Enter</span> new line</span>
|
| 407 |
+
<span class="model-hint" id="modelHint">Gemma4 4B · BF16 · 131K ctx</span>
|
| 408 |
</div>
|
| 409 |
</div>
|
| 410 |
</main>
|
|
|
|
| 476 |
function fmtSz(b){return b<1048576?`${(b/1024).toFixed(0)} KB`:`${(b/1048576).toFixed(1)} MB`;}
|
| 477 |
|
| 478 |
// Vision sample
|
| 479 |
+
function trySampleVision(){ showToast('Vision tower not loaded in this build'); return;
|
| 480 |
const sampleUrl='https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/rabbit.png';
|
| 481 |
S.pending={type:'image',data:sampleUrl,name:'sample_rabbit.png',size:'sample',isUrl:true};
|
| 482 |
document.getElementById('chatInput').value='Describe this image in detail. What story does it tell?';
|