generator = pipeline(task="text-generation") | |
generator(prompt) # doctest: +SKIP | |
masked: the model's objective is to predict a masked token in a sequence with full access to the tokens in the sequence | |
text = "Hugging Face is a community-based open-source for machine learning." |