Resource: Dataset
A dataset that hosts the examples (sentence pairs) used for translation models.
JSON representation |
---|
{ "name" : string , "displayName" : string , "sourceLanguageCode" : string , "targetLanguageCode" : string , "exampleCount" : integer , "trainExampleCount" : integer , "validateExampleCount" : integer , "testExampleCount" : integer , "createTime" : string , "updateTime" : string } |
Fields | |
---|---|
name
|
The resource name of the dataset, in form of |
displayName
|
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. |
sourceLanguageCode
|
The BCP-47 language code of the source language. |
targetLanguageCode
|
The BCP-47 language code of the target language. |
exampleCount
|
Output only. The number of examples in the dataset. |
trainExampleCount
|
Output only. Number of training examples (sentence pairs). |
validateExampleCount
|
Output only. Number of validation examples (sentence pairs). |
testExampleCount
|
Output only. Number of test examples (sentence pairs). |
createTime
|
Output only. Timestamp when this dataset was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime
|
Output only. Timestamp when this dataset was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Creates a Dataset. |
|
Deletes a dataset and all of its contents. |
|
Exports dataset's data to the provided output location. |
|
Gets a Dataset. |
|
Import sentence pairs into translation Dataset. |
|
Lists datasets. |