Skip to content

this sample func seems like a bug... #12

Description

@JoursBleu

没有考虑topk topp?
而且至少应该算个softmax出来?

idx_next = torch.multinomial(probs, num_samples=num_samples, replacement=True)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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