Adding doctest for `text-generation` pipeline. (#20264)
Adding doctest for `text-generation` pipeline. (#20264)


huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers