Based on the discussion of the lab here:
For this lab, you will use the same model from the question-answering pipeline that you loaded before. But, if you want, you can uncomment the cell below to load the pre-trained model without accessing the pipeline parameters.
You will set the base model layers fixed so the training process doesn’t take too long. To do so, you have to set the
requires_gradparameter for thebase_modellayers toFalse.
However, I can’t see the relevant parameter settings in the code.
Can you explain a bit?