Class TranslationModelMetadata (2.7.2)

TranslationModelMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Model metadata that is specific to translation.

Attributes

NameDescription
base_model str
The resource name of the model to use as a baseline to train the custom model. If unset, we use the default base model provided by Google Translate. Format: ``projects/{project_id}/locations/{location_id}/models/{model_id}``
source_language_code str
Output only. Inferred from the dataset. The source languge (The BCP-47 language code) that is used for training.
target_language_code str
Output only. The target languge (The BCP-47 language code) that is used for training.

Inheritance

builtins.object > proto.message.Message > TranslationModelMetadata