> [!CAUTION]
> Starting on June 30, 2025, Translation Hub is officially
> deprecated and will no longer be supported. You can continue using
> Translation Hub until September 20, 2026, when it will be shut down.

<br />

By default, Translation Hub uses the Google Neural Machine Translation
(NMT) model to translate documents, which is suited for generic translation
tasks. In cases where you have to translate a specific domain area and writing
style, consider using a custom model (also known as an
AutoML Translation model). Custom models can provide more tailored
predictions.

When you train a custom model, Cloud Translation starts with the general Google
NMT model and tunes the model to fit your training data, which includes pairs of
sentences in a source and target language.

## AutoML Translation

You create and manage custom models through Cloud Translation - Advanced.
Prepare a training dataset with your sentence pairs and then use the
Cloud Translation - Advanced API to create a custom model. Any costs that are
associated with training custom models are charged separately by
Cloud Translation. For more information, see the
[Cloud Translation documentation](https://docs.cloud.google.com/translate/docs/advanced/automl-beginner).

Translation Hub automatically makes new and existing custom models
available for administrators to assign to portals. After you add a custom model
to a portal, portal users can choose to use the custom model for their
translations.

If you have a translation memory, you can [export](https://docs.cloud.google.com/translation-hub/docs/admin-export-data) that data and use it
as training data, depending on the number of sentence pairs you have and their
quality. Cloud Translation [recommends](https://docs.cloud.google.com/translate/automl/docs/prepare#data_recommendations) around 6,000 **sentence pairs**.
In general, higher quality data (like full sentences) results in higher quality
models than more data.

## Add models to portals

Administrators add models to portals by using the Google Cloud console. Portals
users can choose to use these models when they request translations.

1. In the **Translation Hub** section of the Google Cloud console, go to the
   **Resources** page.

   [Go to the Resources page](https://console.cloud.google.com/translation-hub/resources)
2. From the list of resources, select one or more models to add to one
   or more portals.

3. Click **Assign to portals** , which opens the **Assign resource to portal**
   pane.

4. From the portals field, select one or more portals to add the models to.

5. Click **Assign**.

   On the **Resources** page, you can confirm the addition by viewing the
   **Portal names** column for each resource.