Spaces:
Paused
Paused
Update index.html
Browse files- index.html +0 -45
index.html
CHANGED
|
@@ -92,10 +92,6 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 92 |
.clear-btn{width:100%;padding:8px;border-radius:var(--r-xs);background:var(--fog);border:1.5px solid var(--line);color:var(--ink3);font-family:var(--fb);font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:4px;}
|
| 93 |
.clear-btn:hover{border-color:rgba(225,29,72,.3);color:var(--rose);}
|
| 94 |
|
| 95 |
-
.model-sel-btn{flex:1;padding:8px 6px;border-radius:var(--r-xs);border:1.5px solid var(--line);background:var(--fog);color:var(--ink3);font-family:var(--fb);font-size:10px;cursor:pointer;transition:all .22s;display:flex;flex-direction:column;align-items:center;gap:2px;}
|
| 96 |
-
.model-sel-btn:hover{border-color:rgba(109,40,217,.25);background:rgba(109,40,217,.04);}
|
| 97 |
-
.model-sel-btn.active{border-color:rgba(109,40,217,.5);background:linear-gradient(135deg,rgba(109,40,217,.08),rgba(16,185,129,.04));color:var(--v);box-shadow:0 2px 8px rgba(109,40,217,.12);}
|
| 98 |
-
|
| 99 |
.section-lbl{font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--ink4);margin-bottom:10px;padding:0 2px;}
|
| 100 |
|
| 101 |
/* MAIN CHAT */
|
|
@@ -264,21 +260,6 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 264 |
</div>
|
| 265 |
</div>
|
| 266 |
|
| 267 |
-
<!-- Model Selector -->
|
| 268 |
-
<div style="padding:0 14px;margin-bottom:4px;">
|
| 269 |
-
<span class="field-lbl">Model</span>
|
| 270 |
-
<div id="modelSelector" style="display:flex;gap:6px;">
|
| 271 |
-
<button class="model-sel-btn active" data-model="Darwin-35B-A3B-Opus" onclick="selectModel(this)">
|
| 272 |
-
<span style="font-weight:700;">Original</span>
|
| 273 |
-
<span style="font-size:8px;opacity:.7;">BF16 Β· Vision β
</span>
|
| 274 |
-
</button>
|
| 275 |
-
<button class="model-sel-btn" data-model="Darwin-35B-A3B-Opus-Q8-GGUF" onclick="selectModel(this)">
|
| 276 |
-
<span style="font-weight:700;">Q8 GGUF</span>
|
| 277 |
-
<span style="font-size:8px;opacity:.7;">37GB Β· llama.cpp</span>
|
| 278 |
-
</button>
|
| 279 |
-
</div>
|
| 280 |
-
</div>
|
| 281 |
-
|
| 282 |
<!-- Single Model Card -->
|
| 283 |
<div class="model-card">
|
| 284 |
<div class="mc-top">
|
|
@@ -293,7 +274,6 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 293 |
</div>
|
| 294 |
<div class="mc-desc">MRI-guided evolutionary merge Β· Surpassed both parents Β· 201 languages Β· 262K context</div>
|
| 295 |
<a href="https://huggingface.co/FINAL-Bench/Darwin-35B-A3B-Opus" target="_blank" style="display:inline-flex;align-items:center;gap:5px;margin-top:8px;font-size:10px;font-weight:700;color:var(--v);text-decoration:none;padding:4px 10px;border-radius:16px;background:var(--vg);border:1px solid rgba(109,40,217,.15);transition:all .2s;">π€ Model Card β</a>
|
| 296 |
-
<a href="https://huggingface.co/FINAL-Bench/Darwin-35B-A3B-Opus-Q8-GGUF" target="_blank" style="display:inline-flex;align-items:center;gap:5px;margin-top:4px;font-size:10px;font-weight:700;color:#d97706;text-decoration:none;padding:4px 10px;border-radius:16px;background:rgba(217,119,6,.08);border:1px solid rgba(217,119,6,.18);transition:all .2s;">π¦ Q8 GGUF β</a>
|
| 297 |
<div style="display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;">
|
| 298 |
<a href="https://huggingface.co/spaces/FINAL-Bench/Leaderboard" target="_blank" style="display:inline-flex;align-items:center;gap:3px;font-size:8px;font-weight:700;color:#059669;text-decoration:none;padding:3px 8px;border-radius:12px;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.15);transition:all .2s;">π FINAL Bench</a>
|
| 299 |
<a href="https://huggingface.co/spaces/FINAL-Bench/all-bench-leaderboard" target="_blank" style="display:inline-flex;align-items:center;gap:3px;font-size:8px;font-weight:700;color:var(--amber);text-decoration:none;padding:3px 8px;border-radius:12px;background:rgba(217,119,6,.08);border:1px solid rgba(217,119,6,.15);transition:all .2s;">π ALL Bench</a>
|
|
@@ -434,7 +414,6 @@ input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);}
|
|
| 434 |
|
| 435 |
<script>
|
| 436 |
const S={vision:true,history:[],msgCount:0,totalTok:0,pending:null,busy:false,searchResults:null,
|
| 437 |
-
selectedModel:'Darwin-35B-A3B-Opus',
|
| 438 |
presets:{
|
| 439 |
general:'You are Darwin-35B-A3B-Opus, a highly capable reasoning model created by VIDRAFT via evolutionary merge. Think step by step for complex questions.',
|
| 440 |
code:'You are an expert software engineer. Write clean, efficient, well-commented code. Explain your approach before writing.',
|
|
@@ -447,29 +426,6 @@ const S={vision:true,history:[],msgCount:0,totalTok:0,pending:null,busy:false,se
|
|
| 447 |
|
| 448 |
function apiBase(){return'/gradio';}
|
| 449 |
|
| 450 |
-
// Model selector
|
| 451 |
-
function selectModel(btn){
|
| 452 |
-
document.querySelectorAll('.model-sel-btn').forEach(b=>b.classList.remove('active'));
|
| 453 |
-
btn.classList.add('active');
|
| 454 |
-
S.selectedModel=btn.dataset.model;
|
| 455 |
-
const isGGUF=S.selectedModel.includes('GGUF');
|
| 456 |
-
document.getElementById('hdrModel').textContent=S.selectedModel;
|
| 457 |
-
// GGUF doesn't support vision
|
| 458 |
-
if(isGGUF){
|
| 459 |
-
document.getElementById('visionToggle').checked=false;
|
| 460 |
-
document.getElementById('visionToggle').disabled=true;
|
| 461 |
-
S.vision=false;
|
| 462 |
-
const l=document.getElementById('fileLabel');l.style.opacity='.35';l.style.pointerEvents='none';
|
| 463 |
-
removeImg();
|
| 464 |
-
}else{
|
| 465 |
-
document.getElementById('visionToggle').disabled=false;
|
| 466 |
-
document.getElementById('visionToggle').checked=true;
|
| 467 |
-
S.vision=true;
|
| 468 |
-
const l=document.getElementById('fileLabel');l.style.opacity='1';l.style.pointerEvents='auto';
|
| 469 |
-
}
|
| 470 |
-
showToast(isGGUF?'π¦ Q8 GGUF model selected':'𧬠Original BF16 model selected');
|
| 471 |
-
}
|
| 472 |
-
|
| 473 |
// Toggles
|
| 474 |
document.getElementById('visionToggle').addEventListener('change',function(){
|
| 475 |
S.vision=this.checked;
|
|
@@ -600,7 +556,6 @@ async function sendMsg(){
|
|
| 600 |
parseInt(document.getElementById('tokSl').value),
|
| 601 |
parseFloat(document.getElementById('tempSl').value),
|
| 602 |
parseFloat(document.getElementById('topPSl').value),
|
| 603 |
-
S.selectedModel,
|
| 604 |
];
|
| 605 |
|
| 606 |
const botDiv=appendBot();
|
|
|
|
| 92 |
.clear-btn{width:100%;padding:8px;border-radius:var(--r-xs);background:var(--fog);border:1.5px solid var(--line);color:var(--ink3);font-family:var(--fb);font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:4px;}
|
| 93 |
.clear-btn:hover{border-color:rgba(225,29,72,.3);color:var(--rose);}
|
| 94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
.section-lbl{font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--ink4);margin-bottom:10px;padding:0 2px;}
|
| 96 |
|
| 97 |
/* MAIN CHAT */
|
|
|
|
| 260 |
</div>
|
| 261 |
</div>
|
| 262 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
<!-- Single Model Card -->
|
| 264 |
<div class="model-card">
|
| 265 |
<div class="mc-top">
|
|
|
|
| 274 |
</div>
|
| 275 |
<div class="mc-desc">MRI-guided evolutionary merge Β· Surpassed both parents Β· 201 languages Β· 262K context</div>
|
| 276 |
<a href="https://huggingface.co/FINAL-Bench/Darwin-35B-A3B-Opus" target="_blank" style="display:inline-flex;align-items:center;gap:5px;margin-top:8px;font-size:10px;font-weight:700;color:var(--v);text-decoration:none;padding:4px 10px;border-radius:16px;background:var(--vg);border:1px solid rgba(109,40,217,.15);transition:all .2s;">π€ Model Card β</a>
|
|
|
|
| 277 |
<div style="display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;">
|
| 278 |
<a href="https://huggingface.co/spaces/FINAL-Bench/Leaderboard" target="_blank" style="display:inline-flex;align-items:center;gap:3px;font-size:8px;font-weight:700;color:#059669;text-decoration:none;padding:3px 8px;border-radius:12px;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.15);transition:all .2s;">π FINAL Bench</a>
|
| 279 |
<a href="https://huggingface.co/spaces/FINAL-Bench/all-bench-leaderboard" target="_blank" style="display:inline-flex;align-items:center;gap:3px;font-size:8px;font-weight:700;color:var(--amber);text-decoration:none;padding:3px 8px;border-radius:12px;background:rgba(217,119,6,.08);border:1px solid rgba(217,119,6,.15);transition:all .2s;">π ALL Bench</a>
|
|
|
|
| 414 |
|
| 415 |
<script>
|
| 416 |
const S={vision:true,history:[],msgCount:0,totalTok:0,pending:null,busy:false,searchResults:null,
|
|
|
|
| 417 |
presets:{
|
| 418 |
general:'You are Darwin-35B-A3B-Opus, a highly capable reasoning model created by VIDRAFT via evolutionary merge. Think step by step for complex questions.',
|
| 419 |
code:'You are an expert software engineer. Write clean, efficient, well-commented code. Explain your approach before writing.',
|
|
|
|
| 426 |
|
| 427 |
function apiBase(){return'/gradio';}
|
| 428 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
// Toggles
|
| 430 |
document.getElementById('visionToggle').addEventListener('change',function(){
|
| 431 |
S.vision=this.checked;
|
|
|
|
| 556 |
parseInt(document.getElementById('tokSl').value),
|
| 557 |
parseFloat(document.getElementById('tempSl').value),
|
| 558 |
parseFloat(document.getElementById('topPSl').value),
|
|
|
|
| 559 |
];
|
| 560 |
|
| 561 |
const botDiv=appendBot();
|