transformers
Generate: add `min_p` sampling
#30639
Merged

Generate: add `min_p` sampling #30639

gante merged 8 commits into huggingface:main from gante:min_p
gante
gante min_p
30c2df33
gante
gante commented on 2024-05-03
gante
gante commented on 2024-05-03
gante
gante commented on 2024-05-03
HuggingFaceDocBuilderDev
gante gante requested a review from amyeroberts amyeroberts 1 year ago
gante more relaxed test to avoid numerical issues
9e43df06
menhguin
menhguin requested changes on 2024-05-03
gante Update src/transformers/generation/logits_process.py
af1333ed
gante Update src/transformers/generation/configuration_utils.py
899651a9
gante docstring clarifications
d957447a
gante
amyeroberts
amyeroberts approved these changes on 2024-05-09
gante PR comments
cc95944c
gante Update tests/generation/test_logits_process.py
283ee89d
gante make fixup
f068faa8
gante gante merged df53c6e5 into main 1 year ago
gante gante deleted the min_p branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone