Next-Ask / index.html
Lamapi's picture
Publish Next-Ask space
c3dba1e verified
Raw History Blame Contribute Delete
2.52 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:,">
<title>Next Ask</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<header>
<h1>Next Ask</h1>
<p>Which example should be labeled next? The selector asks you for labels, then a small classifier retrains in your browser and is scored on 360 held-out digits.</p>
<div class="badges"><span class="badge">Live in-browser training</span><span class="badge">UCI handwritten digits (CC BY 4.0)</span><a class="badge" href="https://huggingface.co/thelamapi/Next-Ask">Model repo</a></div>
</header>
<div class="grid">
<section class="card">
<h2>Selector</h2>
<label for="strategy">Selection strategy</label>
<select id="strategy">
<option value="hybrid">Uncertainty + diversity (Next Ask)</option>
<option value="uncertainty">Uncertainty only</option>
<option value="random">Random</option>
</select>
<div class="row" style="margin-top:10px">
<button id="reset">Restart from 10 labels</button>
<button id="auto" class="ghost">Fill batch with dataset labels</button>
</div>
<label><input type="checkbox" id="hint"> Show dataset label as a hint</label>
<div class="kpi" style="margin-top:10px">
<div><b id="acc">–</b><span>test accuracy</span></div>
<div><b id="nlab">–</b><span>labels used</span></div>
<div><b id="round">–</b><span>batches labeled</span></div>
</div>
</section>
<section class="card">
<h2>Accuracy vs labels</h2>
<canvas id="chart"></canvas>
<div id="legend"></div>
</section>
</div>
<section class="card" style="margin-top:12px">
<h2>Label these digits</h2>
<p class="status" id="status">Loading…</p>
<div class="grid" id="queue" style="grid-template-columns:repeat(auto-fit,minmax(150px,1fr))"></div>
</section>
<section class="card" style="margin-top:12px">
<h2>Recorded benchmark</h2>
<img src="preview.png" alt="Learning curves from the notebook benchmark" style="width:100%;border-radius:8px">
</section>
<footer>Wrong labels are allowed: they show how noisy annotation affects the model. Benchmark numbers come from the notebook, not from this page.</footer>
</main>
<script src="nlrt.js"></script>
<script src="nlui.js"></script>
<script src="core.js"></script>
<script src="app.js"></script>
</body>
</html>