Generate: get generation mode from the generation config instance 🧼 (#29441)

This commit is contained in:
Joao Gante
2024-03-06 11:18:35 +00:00
committed by GitHub
parent 41f7b7ae4b
commit 700d48fb2d
5 changed files with 103 additions and 65 deletions

View File

@@ -37,6 +37,9 @@ like token streaming.
- from_pretrained
- from_model_config
- save_pretrained
- update
- validate
- get_generation_mode
## GenerationMixin