hiaripc commited on
Commit ·
4146829
1
Parent(s): bbcddef
revert 2
Browse files- index.html +22 -0
index.html
CHANGED
|
@@ -253,6 +253,28 @@ Load model
|
|
| 253 |
<input id="nin" type="hidden" value="64">
|
| 254 |
</div>
|
| 255 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 256 |
<script>
|
| 257 |
const MAX_TOKENS = 4096;
|
| 258 |
const MAX_EXPONENT = 12; // log2(4096)
|
|
|
|
| 253 |
<input id="nin" type="hidden" value="64">
|
| 254 |
</div>
|
| 255 |
|
| 256 |
+
<style>
|
| 257 |
+
#ninSlider {
|
| 258 |
+
width: 100%;
|
| 259 |
+
box-sizing: border-box;
|
| 260 |
+
display: block;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
#ninLabels {
|
| 264 |
+
display: grid;
|
| 265 |
+
grid-template-columns: repeat(13, 1fr);
|
| 266 |
+
width: 100%;
|
| 267 |
+
box-sizing: border-box;
|
| 268 |
+
font-size: 12px;
|
| 269 |
+
color: #555;
|
| 270 |
+
margin-top: 4px;
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
#ninLabels span {
|
| 274 |
+
text-align: center;
|
| 275 |
+
}
|
| 276 |
+
</style>
|
| 277 |
+
|
| 278 |
<script>
|
| 279 |
const MAX_TOKENS = 4096;
|
| 280 |
const MAX_EXPONENT = 12; // log2(4096)
|