You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
View the [source code][automlTranslationDataset_code].
71
+
72
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-translate&page=editor&open_in_editor=samples/automl/automlTranslationDataset.js,samples/README.md)
View the [source code][automlTranslationModel_code].
121
+
122
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-translate&page=editor&open_in_editor=samples/automl/automlTranslationModel.js,samples/README.md)
123
+
124
+
__Usage:__`node translate.js --help`
125
+
126
+
```
127
+
automlTranslationModel.js <command>
128
+
129
+
Commands:
130
+
automlTranslationModel.js create-model creates a new Model
131
+
automlTranslationModel.js get-operation-status Gets status of current operation
132
+
automlTranslationModel.js list-models list all Models
133
+
automlTranslationModel.js get-model Get a Model
134
+
automlTranslationModel.js list-model-evaluations List model evaluations
135
+
automlTranslationModel.js get-model-evaluation Get model evaluation
136
+
automlTranslationModel.js delete-model Delete a Model
137
+
138
+
Options:
139
+
--version Show version number [boolean]
140
+
--computeRegion, -c region name e.g. "us-central1" [string] [default: "us-central1"]
141
+
--datasetId, -i Id of the dataset [string]
142
+
--filter, -f Name of the Dataset to search for [string] [default: ""]
143
+
--modelName, -m Name of the model [string] [default: false]
144
+
--modelId, -a Id of the model [string] [default: ""]
145
+
--modelEvaluationId, -e Id of the model evaluation [string] [default: ""]
146
+
--operationFullId, -o Full name of an operation [string] [default: ""]
147
+
--projectId, -z The GCLOUD_PROJECT string, e.g. "my-gcloud-project" [number] [default: "nodejs-docs-samples"]
View the [source code][automlTranslationPredict_code].
171
+
172
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-translate&page=editor&open_in_editor=samples/automl/automlTranslationPredict.js,samples/README.md)
173
+
174
+
__Usage:__`node translate.js --help`
175
+
176
+
```
177
+
automlTranslationPredict.js <command>
178
+
179
+
Commands:
180
+
automlTranslationPredict.js predict classify the content
181
+
182
+
Options:
183
+
--version Show version number [boolean]
184
+
--computeRegion, -c region name e.g. "us-central1" [string] [default: "us-central1"]
185
+
--filePath, -f local text file path of the content to be classified
186
+
[string] [default: "./resources/testInput.txt"]
187
+
--modelId, -i Id of the model which will be used for text classification [string]
188
+
--projectId, -z The GCLOUD_PROJECT string, e.g. "my-gcloud-project" [number] [default: "203278707824"]
189
+
--translationAllowFallback, -t Use true if AutoML will fallback to use a Google translation model fortranslation
190
+
requests if the specified AutoML translation model cannotserve the request. Use false
191
+
to not use Google translation model. [string] [default: "False"]
0 commit comments