2021-05-07 20:32:10 +02:00
gensettingstf = [ {
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Temperature " ,
" id " : " settemp " ,
" min " : 0.1 ,
" max " : 2.0 ,
" step " : 0.05 ,
2021-08-19 12:54:44 +02:00
" default " : 0.5 ,
2021-05-07 20:32:10 +02:00
" tooltip " : " Randomness of sampling. High values can increase creativity but may make text less sensible. Lower values will make text more predictable but can become repetitious. "
} ,
{
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Top p Sampling " ,
" id " : " settopp " ,
2021-08-19 14:47:57 +02:00
" min " : 0.0 ,
2021-05-07 20:32:10 +02:00
" max " : 1.0 ,
" step " : 0.05 ,
2021-08-19 12:54:44 +02:00
" default " : 0.9 ,
2021-05-07 20:32:10 +02:00
" tooltip " : " Used to discard unlikely text in the sampling process. Lower values will make text more predictable but can become repetitious. "
2021-08-19 14:47:57 +02:00
} ,
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " Top k Sampling " ,
" id " : " settopk " ,
" min " : 0 ,
" max " : 100 ,
" step " : 1 ,
" default " : 0 ,
" tooltip " : " Alternative sampling method, can be combined with top_p. "
} ,
{
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Tail-free Sampling " ,
" id " : " settfs " ,
" min " : 0.0 ,
" max " : 1.0 ,
" step " : 0.05 ,
" default " : 0.0 ,
" tooltip " : " Alternative sampling method; it is recommended to disable (set to 0) top_p and top_k if using this. 0.95 is thought to be a good value. "
2021-05-07 20:32:10 +02:00
} ,
{
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Repetition Penalty " ,
" id " : " setreppen " ,
" min " : 1.0 ,
" max " : 2.0 ,
" step " : 0.05 ,
2021-08-19 12:54:44 +02:00
" default " : 1.1 ,
2021-05-08 01:04:51 +02:00
" tooltip " : " Used to penalize words that were already generated or belong to the context. "
2021-05-07 20:32:10 +02:00
} ,
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " Amount to Generate " ,
" id " : " setoutput " ,
2021-05-08 01:04:51 +02:00
" min " : 16 ,
" max " : 512 ,
2021-05-07 20:32:10 +02:00
" step " : 2 ,
2021-08-19 12:54:44 +02:00
" default " : 80 ,
2021-05-07 20:32:10 +02:00
" tooltip " : " Number of tokens the AI should generate. Higher numbers will take longer to generate. "
} ,
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " Max Tokens " ,
" id " : " settknmax " ,
" min " : 512 ,
" max " : 2048 ,
" step " : 8 ,
2021-08-19 12:54:44 +02:00
" default " : 1024 ,
2021-05-08 01:04:51 +02:00
" tooltip " : " Max number of tokens of context to submit to the AI for sampling. Make sure this is higher than Amount to Generate. Higher values increase VRAM/RAM usage. "
2021-05-29 11:46:03 +02:00
} ,
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " Gens Per Action " ,
" id " : " setnumseq " ,
" min " : 1 ,
" max " : 5 ,
" step " : 1 ,
" default " : 1 ,
" tooltip " : " Number of results to generate per submission. Increases VRAM/RAM usage. "
} ,
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " W Info Depth " ,
" id " : " setwidepth " ,
" min " : 1 ,
" max " : 5 ,
" step " : 1 ,
2021-08-19 12:54:44 +02:00
" default " : 3 ,
2021-05-29 11:46:03 +02:00
" tooltip " : " Number of historic actions to scan for W Info keys. "
} ,
{
" uitype " : " toggle " ,
" unit " : " bool " ,
" label " : " Always Add Prompt " ,
" id " : " setuseprompt " ,
" min " : 0 ,
" max " : 1 ,
" step " : 1 ,
" default " : 1 ,
" tooltip " : " Whether the prompt should be sent in the context of every action. "
2021-08-19 13:18:01 +02:00
} ,
{
" uitype " : " toggle " ,
" unit " : " bool " ,
" label " : " Adventure Mode " ,
" id " : " setadventure " ,
" min " : 0 ,
" max " : 1 ,
" step " : 1 ,
" default " : 0 ,
" tooltip " : " Turn this on if you are playing a Choose your Adventure model. "
2021-05-07 20:32:10 +02:00
} ]
gensettingsik = [ {
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Temperature " ,
" id " : " settemp " ,
" min " : 0.1 ,
" max " : 2.0 ,
" step " : 0.05 ,
2021-08-19 12:54:44 +02:00
" default " : 0.5 ,
2021-05-07 20:32:10 +02:00
" tooltip " : " Randomness of sampling. High values can increase creativity but may make text less sensible. Lower values will make text more predictable but can become repetitious. "
} ,
{
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Top p Sampling " ,
" id " : " settopp " ,
2021-08-19 14:47:57 +02:00
" min " : 0.0 ,
2021-05-07 20:32:10 +02:00
" max " : 1.0 ,
" step " : 0.05 ,
2021-08-19 12:54:44 +02:00
" default " : 1.1 ,
2021-05-07 20:32:10 +02:00
" tooltip " : " Used to discard unlikely text in the sampling process. Lower values will make text more predictable but can become repetitious. "
} ,
2021-08-19 14:47:57 +02:00
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " Top k Sampling " ,
" id " : " settopk " ,
" min " : 0 ,
" max " : 100 ,
" step " : 1 ,
" default " : 0 ,
" tooltip " : " Alternative sampling method, can be combined with top_p. "
} ,
{
" uitype " : " slider " ,
" unit " : " float " ,
" label " : " Tail-free Sampling " ,
" id " : " settfs " ,
" min " : 0.0 ,
" max " : 1.0 ,
" step " : 0.05 ,
" default " : 0.0 ,
" tooltip " : " Alternative sampling method; it is recommended to disable (set to 0) top_p and top_k if using this. 0.95 is thought to be a good value. "
} ,
2021-05-07 20:32:10 +02:00
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " Amount to Generate " ,
" id " : " setikgen " ,
" min " : 50 ,
" max " : 3000 ,
" step " : 2 ,
" default " : 200 ,
" tooltip " : " Number of characters the AI should generate. "
2021-05-29 11:46:03 +02:00
} ,
{
" uitype " : " slider " ,
" unit " : " int " ,
" label " : " W Info Depth " ,
" id " : " setwidepth " ,
" min " : 1 ,
" max " : 5 ,
" step " : 1 ,
2021-08-19 12:54:44 +02:00
" default " : 3 ,
2021-05-29 11:46:03 +02:00
" tooltip " : " Number of historic actions to scan for W Info keys. "
} ,
{
" uitype " : " toggle " ,
" unit " : " bool " ,
" label " : " Always Add Prompt " ,
" id " : " setuseprompt " ,
" min " : 0 ,
" max " : 1 ,
" step " : 1 ,
" default " : 1 ,
" tooltip " : " Whether the prompt should be sent in the context of every action. "
2021-08-19 13:18:01 +02:00
} ,
{
" uitype " : " toggle " ,
" unit " : " bool " ,
" label " : " Adventure Mode " ,
" id " : " setadventure " ,
" min " : 0 ,
" max " : 1 ,
" step " : 1 ,
" default " : 0 ,
" tooltip " : " Turn this on if you are playing a Choose your Adventure model. "
2021-05-11 01:17:10 +02:00
} ]
formatcontrols = [ {
" label " : " Trim incomplete sentences " ,
" id " : " frmttriminc " ,
" tooltip " : " Remove text after last sentence closure. If no closure is found, all tokens will be returned. "
} ,
{
" label " : " Remove blank lines " ,
" id " : " frmtrmblln " ,
" tooltip " : " Replace double newlines ( \\ n \\ n) with single newlines to avoid blank lines. "
} ,
{
" label " : " Remove special characters " ,
" id " : " frmtrmspch " ,
" tooltip " : " Remove special characters (@,#, % ,^, etc) "
} ,
{
" label " : " Add sentence spacing " ,
" id " : " frmtadsnsp " ,
" tooltip " : " If the last action ended with punctuation, add a space to the beginning of the next action. "
} ]