mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
arranged files, updated kobold lite, modified makefile for extra link args on linux, started RWKV implementation
This commit is contained in:
parent
9581171a9f
commit
763ad172c0
21 changed files with 13597 additions and 46 deletions
|
@ -293,7 +293,7 @@ gpt_vocab::id gptj_sample_top_p_top_k(
|
|||
}
|
||||
}
|
||||
|
||||
gptj_sample_top_k(logits_id, top_k);
|
||||
gptj_sample_top_k(logits_id, top_k > 0 ? std::min(top_k, n_logits) : n_logits);
|
||||
|
||||
double maxl = -INFINITY;
|
||||
for (const auto & kv : logits_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue