-
Notifications
You must be signed in to change notification settings - Fork 45
Explain LLM predictions, using logprobs to highlight token probability #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Would be cool to support that with open source models, likely in a future PR, I had a look:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 10 out of 18 changed files in this pull request and generated 2 comments.
Files not reviewed (8)
- README.rst: Language not supported
- docs/source/libraries/index.rst: Language not supported
- docs/source/libraries/openai.rst: Language not supported
- docs/source/overview.rst: Language not supported
- docs/source/tutorials/explain_llm_logprobs.rst: Language not supported
- docs/update-notebooks.sh: Language not supported
- eli5/templates/weighted_spans.html: Language not supported
- tox.ini: Language not supported
|
You can use optillm for that - https://github.com/codelion/optillm see algorithmicsuperintelligence/optillm#168 (reply in thread) you can also visualize the ouputs using the logprobs visualizer - https://huggingface.co/spaces/codelion/LogProbsVisualizer |
|
Thanks you @codelion , do you mind if I add those links to the end of the tutorial here https://eli5.readthedocs.io/en/stable/tutorials/explain_llm_logprobs.html#open-source-and-other-models ? |
|
@lopuhin please go ahead, thanks! |
This can allow to see when model is less certain:
TODO: