Skip to content
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

Getting probability distributions #1950

Open
SeriousJ55 opened this issue Mar 5, 2025 · 0 comments
Open

Getting probability distributions #1950

SeriousJ55 opened this issue Mar 5, 2025 · 0 comments
Labels
question Further information is requested

Comments

@SeriousJ55
Copy link

LitGPT is lit! Thank you very much for your great tool and your support!

Is there a way to get the probability distribution of the next word in case of a completion?

For instance, I would input "Hello, how are" and I would get something like this:

{' you': -0.41093945503234863, ' we': -2.035161256790161, ' the': -3.56518292427063, ' your': -3.6833927631378174, 'they': -3.713589906692505, ' things': -3.9313480854034424, ' I': -4.467358589172363, ' these': -4.666958808898926, 'our': -5.107480049133301, ' all': -5.128758430480957}

@SeriousJ55 SeriousJ55 added the question Further information is requested label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant