main : fix indentation

This commit is contained in:
Georgi Gerganov 2023-08-26 21:02:41 +03:00 committed by GitHub
parent 311bd6d294
commit f5d4b48297
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,12 +430,12 @@ int main(int argc, char ** argv) {
last_n_tokens.data() + last_n_tokens.size() - last_n_repeat, last_n_tokens.data() + last_n_tokens.size() - last_n_repeat,
last_n_repeat, alpha_frequency, alpha_presence); last_n_repeat, alpha_frequency, alpha_presence);
if (!penalize_nl) { if (!penalize_nl) {
for (size_t idx = 0; idx < candidates_p.size; idx++) { for (size_t idx = 0; idx < candidates_p.size; idx++) {
if (candidates_p.data[idx].id == llama_token_nl()) { if (candidates_p.data[idx].id == llama_token_nl()) {
candidates_p.data[idx].logit = nl_logit; candidates_p.data[idx].logit = nl_logit;
break; break;
}
} }
}
} }
if (temp <= 0) { if (temp <= 0) {