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. |