Spaces:
Running
Running
File size: 1,061 Bytes
7bf7430 aa937f3 7bf7430 | 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 | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MiniCPM5-1B WebGPU</title>
<script type="module" src="/src/main.js"></script>
</head>
<body>
<main class="shell">
<section class="toolbar">
<div>
<h1>MiniCPM5-1B</h1>
<p>Browser deployment preview</p>
</div>
<select id="backend">
<option value="webgpu">WebGPU</option>
<option value="wasm">WASM</option>
</select>
</section>
<textarea id="prompt">Who are you? Please briefly introduce yourself.</textarea>
<section class="controls">
<label>Max tokens <input id="maxTokens" type="number" min="1" max="512" value="128" /></label>
<label>Temperature <input id="temperature" type="number" min="0" max="2" step="0.05" value="0.7" /></label>
<button id="run">Run</button>
</section>
<pre id="output">Waiting for model assets...</pre>
</main>
</body>
</html>
|