HubCloneHubClone
Tasks

Translation

Translation converts text from one language into another while keeping its meaning.

Inputs

Input

Good morning, how are you?

Translation Model

Output

Output

Chào buổi sáng, bạn có khỏe không?

About Translation

Translation converts text from one language into another while keeping its meaning. Browse translation models on HubClone to compare checkpoints, or open a Space to try one in the browser.

Use Cases

Localization

Translate product pages into many languages.

Search documents written in another language.

Inference

The Transformers pipeline API runs translation models in a few lines. Replace <model-id> with any model listed on this page.

from transformers import pipeline

pipe = pipeline("translation", model="<model-id>")
pipe("Good morning, how are you?")

Useful Resources

Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.

Documentation

  • Translation task guide
  • Pipelines reference

Notebooks

  • Fine-tuning a translation model