Skip to content

fix(openai): keep a separate logprob for each multibyte token - #1726

Merged
hiworldwzj merged 1 commit into
mainfrom
wzj_fix
Nov 14, 2026
Merged

hiworldwzj merged 1 commit into
mainfrom
wzj_fix

Conversation

@hiworldwzj

Copy link
Copy Markdown
Collaborator

Incomplete UTF-8 pieces were added into the completing character's score, so that entry no longer matched its own sampling step or top_logprobs.

Incomplete UTF-8 pieces were added into the completing character's score, so that entry no longer matched its own sampling step or top_logprobs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hiworldwzj
hiworldwzj merged commit d440595 into main Nov 14, 2026
1 check passed
@hiworldwzj
hiworldwzj deleted the wzj_fix branch November 14, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant