# Class Model (3.27.0)

3.27.0 (latest) 3.25.0 3.24.0 3.23.0 3.22.0 3.21.1 3.20.3 3.19.0 3.18.0 3.17.0 3.15.5 3.14.0 3.13.0 3.12.1 3.11.3 3.10.1 3.9.0 3.8.4 3.7.4 3.6.1 3.5.0 3.4.1 3.3.2 3.2.1 3.1.0 3.0.2 2.0.4 1.7.2 1.6.0

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

A trained translation model.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}` |
| `display_name` | `str` The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (\\_), and ASCII digits 0-9. |
| `dataset` | `str` The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` |
| `source_language_code` | `str` Output only. The BCP-47 language code of the source language. |
| `target_language_code` | `str` Output only. The BCP-47 language code of the target language. |
| `train_example_count` | `int` Output only. Number of examples (sentence pairs) used to train the model. |
| `validate_example_count` | `int` Output only. Number of examples (sentence pairs) used to validate the model. |
| `test_example_count` | `int` Output only. Number of examples (sentence pairs) used to test the model. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp when the model resource was created, which is also when the training started. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp when this model was last updated. |