mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-27 15:48:50 +00:00
72 lines
4.6 KiB
HTML
72 lines
4.6 KiB
HTML
<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">
|
|
<div class="mb-4 flex-row">
|
|
<label class="font-bold" for="model">Binding</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="binding" name="binding">
|
|
</select>
|
|
</div>
|
|
<div class="mb-4 flex-row">
|
|
<label class="font-bold" for="model">Model</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="model" name="model">
|
|
</select>
|
|
</div>
|
|
<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">
|
|
</select>
|
|
</div>
|
|
<div class="mb-4 flex-row">
|
|
<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">
|
|
</select>
|
|
</div>
|
|
<div class="mb-4 flex-row">
|
|
<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">
|
|
</select>
|
|
</div>
|
|
|
|
<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">
|
|
</div>
|
|
<div class="mb-4 flex-row">
|
|
<label class="font-bold mb-2" for="temperature" id="temperature-value">Temperature (0.1)</label>
|
|
<input class="slider-value" id="temperature" type="range" min="0" max="5" step="0.1" value="0.01" name="temperature">
|
|
</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">
|
|
</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">
|
|
</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">
|
|
</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">
|
|
</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">
|
|
</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>
|
|
</div>
|
|
</form>
|
|
</div>
|