Generate: documented function to compute the transition scores (#21191)

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
This commit is contained in:
Joao Gante
2023-01-20 12:50:01 +00:00
committed by GitHub
parent 91c2278b97
commit af37d183b3
3 changed files with 154 additions and 30 deletions

View File

@@ -37,6 +37,7 @@ and how to create and save a customized generation configuration, refer to the
[[autodoc]] generation.GenerationMixin
- generate
- compute_transition_scores
- greedy_search
- sample
- beam_search