QuestionQ69

VerifiedScaling prototypes into ML models

You are training an LSTM-based model on AI Platform to summarize text with 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 your model’s accuracy. What should you do?

Explanation

The AI Platform scale-tier setting controls the compute configuration, including machine types and the number of worker and parameter-server replicas. The basic tier uses a single worker, whereas other tiers can supply greater or distributed compute capacity, reducing training time without directly changing the model’s learning behavior or accuracy target.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!