Class Dataset (3.17.0)

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

A dataset that hosts the examples (sentence pairs) used for translation models.

Attributes

Name Description
name str
The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
display_name str
The name of the dataset 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.
source_language_code str
The BCP-47 language code of the source language.
target_language_code str
The BCP-47 language code of the target language.
example_count int
Output only. The number of examples in the dataset.
train_example_count int
Output only. Number of training examples (sentence pairs).
validate_example_count int
Output only. Number of validation examples (sentence pairs).
test_example_count int
Output only. Number of test examples (sentence pairs).
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this dataset was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this dataset was last updated.