lollms-webui/templates/settings.html

72 lines
4.6 KiB
HTML
Raw Normal View History

2023-04-13 10:31:48 +00:00
<div class="h-full overflow-y-auto">
<form id="model-params-form" class="bg-gray-50 dark:bg-gray-700 shadow-md rounded px-8 py-8 pt-6 pb-8 mb-4 text-black dark:text-white">
2023-04-20 17:30:03 +00:00
<div class="mb-4 flex-row">
<label class="font-bold" for="model">Backend</label>
<select class="bg-gray-200 dark:bg-gray-700 w-96 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="backend" name="backend">
</select>
</div>
<div class="mb-4 flex-row">
<label class="font-bold" for="model">Model</label>
2023-04-19 10:55:38 +00:00
<select class="bg-gray-200 dark:bg-gray-700 w-96 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="model" name="model">
2023-04-13 10:31:48 +00:00
</select>
</div>
2023-04-20 17:30:03 +00:00
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="model">Personalities Languages</label>
<select class="bg-gray-200 dark:bg-gray-700 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="personalities_language" name="personalities_language" value="English">
</select>
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="model">Personalities Category</label>
<select class="bg-gray-200 dark:bg-gray-700 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="personalities_category" name="personalities_category" value="general">
</select>
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="model">Personalities</label>
<select class="bg-gray-200 dark:bg-gray-700 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="personalities" name="personalities" value="gpt4all_chatbot.yaml">
2023-04-13 22:47:20 +00:00
</select>
</div>
<div class="mb-4 flex-row">
2023-04-20 20:21:24 +00:00
<label class="font-bold mb-2" for="model">Audio in Language</label>
<select class="bg-gray-200 dark:bg-gray-700 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="language" name="language" value="english">
2023-04-14 00:10:22 +00:00
</select>
</div>
<div class="mb-4 flex-row">
2023-04-20 20:21:24 +00:00
<label class="font-bold mb-2" for="model">audio out Voice</label>
<select class="bg-gray-200 dark:bg-gray-700 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="voice" name="voice" value="english">
2023-04-14 00:10:22 +00:00
</select>
</div>
2023-04-13 22:47:20 +00:00
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="seed">Seed</label>
<input class="bg-gray-200 dark:bg-gray-700 shadow appearance-none border rounded py-2 px-3 leading-tight focus:outline-none focus:shadow-outline" id="seed" type="text" name="seed" value="0">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="temp" id="temperature-value">Temperature (0.1)</label>
2023-04-28 09:52:14 +00:00
<input class="slider-value" id="temp" type="range" min="0" max="5" step="0.1" value="0.01" name="temp">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="n-predict" id="n-predict-value">N Predict (256)</label>
<input class="slider-value" id="n-predict" type="range" min="0" max="2048" step="1" value="256" name="n-predict">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="top-k" id="top-k-value">Top K</label>
<input class="slider-value" id="top-k" type="range" min="0" max="100" step="1" value="40" name="top-k">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="top-p" id="top-p-value">Top P</label>
<input class="slider-value" id="top-p" type="range" min="0" max="1" step="0.01" value="0.95" name="top-p">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="repeat-penalty" id="repeat-penalty-value">Repeat penalty</label>
<input class="slider-value" id="repeat-penalty" type="range" min="0" max="2" step="0.01" value="1.3" name="repeat-penalty">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4 flex-row">
<label class="font-bold mb-2" for="repeat-last-n" id="repeat-last-n-value">Repeat last N</label>
<input class="slider-value" id="repeat-last-n" type="range" min="0" max="100" step="1" value="40" name="repeat-last-n">
2023-04-13 10:31:48 +00:00
</div>
<div class="mb-4">
<button type="submit" id="submit-model-params" class="my-1 mx-1 outline-none px-4 bg-accent rounded-md bg-gray-200 hover:bg-gray-300 py-1 dark:bg-gray-500 dark:hover:bg-gray-300 transition-colors ease-in-out">Update parameters</button>
2023-04-13 10:31:48 +00:00
</div>
</form>
</div>