Skip to content

how to handle tokens with 0 or 100% probability #4

@shiffman

Description

@shiffman

This is what I'm doing now:

if (word[category].prob < 0.01) word[category].prob = 0.01;
if (word[category].prob > 0.99) word[category].prob = 0.99;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions