Google Cloud Professional Machine Learning Engineer — Question 188
You are training an ML model on a large dataset. You are using a TPU to accelerate the training process. You notice that the training process is taking longer than expected. You discover that the TPU is not reaching its full capacity. What should you do?
Answer options
- A. Increase the learning rate
- B. Increase the number of epochs
- C. Decrease the learning rate
- D. Increase the batch size
Correct answer: D
Explanation
Increasing the batch size allows the TPU to process more data simultaneously, which can enhance utilization and speed up training. The learning rate adjustments and number of epochs do not directly address TPU capacity issues, making them less effective solutions in this context.