1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to LLMs in Python

Connected

练习

Translating text

You've seen an example of English-to-Spanish translation. Now it's your turn to try it the other way around with Spanish-to-English translation.

pipeline has been loaded for you.

说明

100 XP
  • Define the pipeline task for Spanish-to-English translation (es_to_en).
  • Translate the spanish_text using the model pipeline.