NLP, Large Language Models.
translation_xx_to_yy defaults to a model which has 4 languages, so the mapping needs to be specific. Here is an example for translating english to romanian: task = pipeline("translation_en_to_ro") # Source: https://en.wikipedia.org/wiki/Space_colonization text = ''' Many arguments for and against