0
0
TensorFlowml~5 mins

Learning rate for fine-tuning in TensorFlow - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the learning rate in machine learning?
The learning rate is a small number that controls how much the model changes its knowledge after seeing new data. It helps the model learn step by step without jumping too far.
Click to reveal answer
beginner
Why do we use a smaller learning rate when fine-tuning a pre-trained model?
We use a smaller learning rate to make small, careful updates. This helps keep the useful knowledge the model already learned and adjusts it gently to the new task.
Click to reveal answer
intermediate
How does a high learning rate affect fine-tuning?
A high learning rate can make the model forget what it learned before and cause unstable training. It might jump over good solutions and perform worse.
Click to reveal answer
beginner
In TensorFlow, how do you set a learning rate for fine-tuning?
You set the learning rate when you create the optimizer, for example: <br>optimizer = tf.keras.optimizers.Adam(learning_rate=0.0001)<br>This small rate helps fine-tune the model carefully.
Click to reveal answer
intermediate
What is a common strategy to adjust learning rate during fine-tuning?
A common strategy is to start with a small learning rate and reduce it further if the model stops improving. This is called learning rate scheduling or decay.
Click to reveal answer
Why is a smaller learning rate preferred for fine-tuning?
ATo speed up training drastically
BTo make small, careful updates preserving learned features
CTo ignore previous knowledge completely
DTo increase randomness in training
What happens if the learning rate is too high during fine-tuning?
AModel may forget previous knowledge and training becomes unstable
BModel ignores new data
CModel stops training immediately
DModel learns faster and better
In TensorFlow, where do you specify the learning rate?
AWhen creating the optimizer
BIn the model architecture
CIn the dataset
DIn the loss function
What is learning rate scheduling?
AIgnoring learning rate after first epoch
BFixing learning rate to a constant value
CChanging learning rate during training to improve results
DRandomly changing learning rate every batch
Which learning rate is typical for fine-tuning a pre-trained model?
A1.0
B0.01
C0.1
D0.0001
Explain why fine-tuning a model requires a different learning rate than training from scratch.
Think about how the model already knows something useful.
You got /4 concepts.
    Describe how you would set up learning rate scheduling in TensorFlow for fine-tuning.
    Consider how to change learning rate during training.
    You got /4 concepts.