mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
Merge remote-tracking branch 'origin/master' into concedo
This commit is contained in:
commit
a19b5a4adc
17 changed files with 600 additions and 79 deletions
2
main.cpp
2
main.cpp
|
@ -846,6 +846,8 @@ int main(int argc, char ** argv) {
|
|||
|
||||
std::vector<float> logits;
|
||||
|
||||
// Add a space in front of the first character to match OG llama tokenizer behavior
|
||||
params.prompt.insert(0, 1, ' ');
|
||||
// tokenize the prompt
|
||||
std::vector<gpt_vocab::id> embd_inp = ::llama_tokenize(vocab, params.prompt, true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue