Skip to content

BOS always has the highest probability in logits? #4264

Closed Answered by LoganDark
LoganDark asked this question in Q&A
Discussion options

You must be logged in to vote

I found the issue. I was constructing a llama_context_params manually, and left zero all of the parameters that I didn't know the purpose of. Well, turns out that some of those parameters have default values that are not zero, so setting them to zero confused llama.cpp.

The solution was to use llama_context_default_params() and then only set the individual fields that I actually need to change.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LoganDark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant