Skip to content

Mask while decoding in _sample_top_p #16

@ovshake

Description

@ovshake

The mask in

probs_sort[mask] = 0.0
should be ~mask since we want to select all those indices where value is less than p.

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