Topic 1 Question 20
You are training an LSTM-based model on AI Platform to summarize text using the following job submission script: gcloud ai-platform jobs submit training $JOB_NAME
--package-path $TRAINER_PACKAGE_PATH
--module-name $MAIN_TRAINER_MODULE
--job-dir $JOB_DIR
--region $REGION
--scale-tier basic
--
--epochs 20
--batch_size=32
--learning_rate=0.001
You want to ensure that training time is minimized without significantly compromising the accuracy of your model. What should you do?Modify the 'epochs' parameter.
Modify the 'scale-tier' parameter.
Modify the 'batch size' parameter.
Modify the 'learning rate' parameter.
ユーザの投票
コメント(14)
B. Changing the scale tier does not impact performance–only speeds up training time. Epochs, Batch size, and learning rate all are hyperparameters that might impact model accuracy.
👍 26maartenalexander2021/06/22Go with B, all the other options could affect the accuracy.
👍 3Danny20212021/09/08Should be B. Question didn't say anything about cost, so while B would increase cost with more computation time, it would save real-world time.
👍 3Y2Data2021/09/13
シャッフルモード