Comment on Does anyone else have experience with koboldcpp? How do I make it give me longer outputs?
tal@lemmy.today 4 months ago
old.reddit.com/…/more_than_512_tokens_possible/
nevermind, just realised you can type in the token amount
tries it
Yeah. There’s a slider, and if you enter a number outside its acceptable range, it’ll be red, but it’ll still permit using the number. Worked with Amount to Generate = 1024 and Max Tokens (which also needs to be increased) set to 2048 in a quick test.
fhein@lemmy.world 4 months ago
Is max tokens different from context size?
Might be worth keeping in mind that the generated tokens go into the context, so if you set it to 1k with 4k context you only get 3k left for character card and chat history. I think i usually have it set to 400 tokens or something, and use TGW’s continue button in case a long response gets cut off
tal@lemmy.today 4 months ago
No. Same thing. If you hover over the question mark by “Max Tokens” in the Kobold AI Web UI:
“Max number of tokens of context to submit to the AI for sampling. Make sure this is higher than Amount to Generate. Higher values increase VRAM/RAM usage.”