radames commited on
Commit
455bf87
1 Parent(s): faa4a6f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +82 -73
index.html CHANGED
@@ -280,81 +280,90 @@ Answer:</textarea
280
  Run
281
  </button>
282
  </form>
283
- <div class="grid grid-cols-3 max-w-md items-center gap-3">
284
- <label class="text-sm font-medium" for="max-seq">Maximum length </label>
285
- <input
286
- type="range"
287
- id="max-seq"
288
- name="max-seq"
289
- min="1"
290
- max="2048"
291
- step="1"
292
- value="200"
293
- oninput="this.nextElementSibling.value = Number(this.value)" />
294
- <output
295
- class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md">
296
- 200</output
297
- >
298
- <label class="text-sm font-medium" for="temperature">Temperature</label>
299
- <input
300
- type="range"
301
- id="temperature"
302
- name="temperature"
303
- min="0"
304
- max="2"
305
- step="0.01"
306
- value="0.00"
307
- oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)" />
308
- <output
309
- class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md">
310
- 0.00</output
311
- >
312
- <label class="text-sm font-medium" for="top-p">Top-p</label>
313
- <input
314
- type="range"
315
- id="top-p"
316
- name="top-p"
317
- min="0"
318
- max="1"
319
- step="0.01"
320
- value="1.00"
321
- oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)" />
322
- <output
323
- class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md">
324
- 1.00</output
325
- >
326
 
327
- <label class="text-sm font-medium" for="repeat_penalty"
328
- >Repeat Penalty</label
329
- >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
330
 
331
- <input
332
- type="range"
333
- id="repeat_penalty"
334
- name="repeat_penalty"
335
- min="1"
336
- max="2"
337
- step="0.01"
338
- value="1.10"
339
- oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)" />
340
- <output
341
- class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md"
342
- >1.10</output
343
- >
344
- <label class="text-sm font-medium" for="seed">Seed</label>
345
- <input
346
- type="number"
347
- id="seed"
348
- name="seed"
349
- value="299792458"
350
- class="font-light border border-gray-700 text-right rounded-md p-2" />
351
- <button
352
- id="run"
353
- onclick="document.querySelector('#seed').value = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER)"
354
- class="bg-gray-700 hover:bg-gray-800 text-white font-normal py-1 w-[50px] rounded disabled:bg-gray-300 disabled:cursor-not-allowed text-sm">
355
- Rand
356
- </button>
357
- </div>
358
  <div>
359
  <h3 class="font-medium">Generation:</h3>
360
  <div
 
280
  Run
281
  </button>
282
  </form>
283
+ <details>
284
+ <summary class="font-medium cursor-pointer">Advanced Options</summary>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
 
286
+ <div class="grid grid-cols-3 max-w-md items-center gap-3 py-3">
287
+ <label class="text-sm font-medium" for="max-seq"
288
+ >Maximum length
289
+ </label>
290
+ <input
291
+ type="range"
292
+ id="max-seq"
293
+ name="max-seq"
294
+ min="1"
295
+ max="2048"
296
+ step="1"
297
+ value="200"
298
+ oninput="this.nextElementSibling.value = Number(this.value)" />
299
+ <output
300
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md">
301
+ 200</output
302
+ >
303
+ <label class="text-sm font-medium" for="temperature"
304
+ >Temperature</label
305
+ >
306
+ <input
307
+ type="range"
308
+ id="temperature"
309
+ name="temperature"
310
+ min="0"
311
+ max="2"
312
+ step="0.01"
313
+ value="0.00"
314
+ oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)" />
315
+ <output
316
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md">
317
+ 0.00</output
318
+ >
319
+ <label class="text-sm font-medium" for="top-p">Top-p</label>
320
+ <input
321
+ type="range"
322
+ id="top-p"
323
+ name="top-p"
324
+ min="0"
325
+ max="1"
326
+ step="0.01"
327
+ value="1.00"
328
+ oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)" />
329
+ <output
330
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md">
331
+ 1.00</output
332
+ >
333
+
334
+ <label class="text-sm font-medium" for="repeat_penalty"
335
+ >Repeat Penalty</label
336
+ >
337
+
338
+ <input
339
+ type="range"
340
+ id="repeat_penalty"
341
+ name="repeat_penalty"
342
+ min="1"
343
+ max="2"
344
+ step="0.01"
345
+ value="1.10"
346
+ oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)" />
347
+ <output
348
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md"
349
+ >1.10</output
350
+ >
351
+ <label class="text-sm font-medium" for="seed">Seed</label>
352
+ <input
353
+ type="number"
354
+ id="seed"
355
+ name="seed"
356
+ value="299792458"
357
+ class="font-light border border-gray-700 text-right rounded-md p-2" />
358
+ <button
359
+ id="run"
360
+ onclick="document.querySelector('#seed').value = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER)"
361
+ class="bg-gray-700 hover:bg-gray-800 text-white font-normal py-1 w-[50px] rounded disabled:bg-gray-300 disabled:cursor-not-allowed text-sm">
362
+ Rand
363
+ </button>
364
+ </div>
365
+ </details>
366
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
  <div>
368
  <h3 class="font-medium">Generation:</h3>
369
  <div