File size: 281 Bytes
5fa1a76
 
 
 
 
 
1
2
3
4
5
6
Check out a few examples that use [~transformers.generation_utils.GenerationMixin.generate] method to produce
text outputs for different tasks:
* Text summarization
* Image captioning
* Audio transcription
Note that the inputs to the generate method depend on the model's modality.