Skip to content

Convert logprobs (sometimes positive) to regular probabilities? #18

@anatol-grabowski

Description

@anatol-grabowski

Hey. How does one convert logprobs to regular probabilities? I've tried np.exp(token.logprob) expecting them to be always negative. But sometimes they are positive. Need some explanation on how to handle those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions