[GH-ISSUE #2902] feature request: support for conditional probability of next word (logprobs) #27537

Closed
opened 2026-04-22 04:56:50 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @iurimatias on GitHub (Mar 3, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2902

This is required for libraries like LQML, and useful for some other tooling as well, debugging etc..

https://platform.openai.com/docs/api-reference/completions/create#completions-create-logprobs

Originally created by @iurimatias on GitHub (Mar 3, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2902 This is required for libraries like LQML, and useful for some other tooling as well, debugging etc.. https://platform.openai.com/docs/api-reference/completions/create#completions-create-logprobs
Author
Owner

@jmorganca commented on GitHub (Mar 12, 2024):

Merging with https://github.com/ollama/ollama/issues/2415

<!-- gh-comment-id:1989749476 --> @jmorganca commented on GitHub (Mar 12, 2024): Merging with https://github.com/ollama/ollama/issues/2415
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#27537