Fixing whitespaces
This commit is contained in:
parent
a6c3278845
commit
0b87ef4fae
2 changed files with 2 additions and 2 deletions
|
@ -931,7 +931,7 @@ std::string parse_samplers_input(std::string input) {
|
||||||
std::string name = input.substr(0,separator);
|
std::string name = input.substr(0,separator);
|
||||||
input = input.substr(separator+1);
|
input = input.substr(separator+1);
|
||||||
separator = input.find(';');
|
separator = input.find(';');
|
||||||
|
|
||||||
if (samplers_symbols.find(name) != samplers_symbols.end()) {
|
if (samplers_symbols.find(name) != samplers_symbols.end()) {
|
||||||
output += samplers_symbols[name];
|
output += samplers_symbols[name];
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,7 +133,7 @@ void sampler_queue(
|
||||||
const float tfs_z = params.tfs_z;
|
const float tfs_z = params.tfs_z;
|
||||||
const float typical_p = params.typical_p;
|
const float typical_p = params.typical_p;
|
||||||
const std::string & samplers_sequence = params.samplers_sequence;
|
const std::string & samplers_sequence = params.samplers_sequence;
|
||||||
|
|
||||||
for (auto s : samplers_sequence) {
|
for (auto s : samplers_sequence) {
|
||||||
switch (s){
|
switch (s){
|
||||||
case 'k': llama_sample_top_k (ctx_main, &cur_p, top_k, min_keep); break;
|
case 'k': llama_sample_top_k (ctx_main, &cur_p, top_k, min_keep); break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue