mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-19 13:10:52 +01:00
Add Repetition Penalty to Samplers menu
This commit is contained in:
parent
cbfe456409
commit
ff9058896e
@ -1306,12 +1306,13 @@ function buildSamplerList(samplers) {
|
|||||||
"Tail-free Sampling",
|
"Tail-free Sampling",
|
||||||
"Typical Sampling",
|
"Typical Sampling",
|
||||||
"Temperature",
|
"Temperature",
|
||||||
|
"Repetition Penalty",
|
||||||
]
|
]
|
||||||
for(i=0; i<samplers.length; i++) {
|
for(i=0; i<samplers.length; i++) {
|
||||||
samplerslist.append("<div class=\"flex\">\
|
samplerslist.append("<div class=\"flex\">\
|
||||||
<div class=\"samplerslistitem flex-row-container\" sid=\""+samplers[i]+"\">\
|
<div class=\"samplerslistitem flex-row-container\" sid=\""+samplers[i]+"\">\
|
||||||
<div class=\"flex-row\">\
|
<div class=\"flex-row\">\
|
||||||
<div>"+samplers_lookup_table[samplers[i]]+"</div>\
|
<div>"+(samplers[i] < samplers_lookup_table.length ? samplers_lookup_table[samplers[i]] : "Unknown sampler #" + samplers[i])+"</div>\
|
||||||
</div>\
|
</div>\
|
||||||
</div>\
|
</div>\
|
||||||
</div>");
|
</div>");
|
||||||
|
@ -473,7 +473,7 @@ body.connected #popupfooter, #popupfooter.always-available {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#samplerslist {
|
#samplerslist {
|
||||||
height: 300px;
|
height: 310px;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user