What should you do?

You have trained a text classification model in TensorFlow using Al Platform. You want to use the trained model for batch predictions on text data stored in BigQuery while minimizing computational overhead.

What should you do?
A . Export the model to BigQuery ML.
B . Deploy and version the model on Al Platform.
C . Use Dataflow with the SavedModel to read the data from BigQuery
D . Submit a batch prediction job on Al Platform that points to the model location in Cloud Storage.

Answer: A

Explanation:

https://cloud.google.com/bigquery-ml/docs/making-predictions-with-imported-tensorflow-models

https://cloud.google.com/bigquery-ml/docs/making-predictions-with-imported-tensorflow-models#importing_models

https://cloud.google.com/bigquery-ml/docs/making-predictions-with-imported-tensorflow-models#bq

CREATE OR REPLACE MODEL example_dataset.imported_tf_model OPTIONS (MODEL_TYPE=’TENSORFLOW’, MODEL_PATH=’gs://cloud-training-demos/txtclass/export/exporter/1549825580/*’)

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments