

TITLE
How can we freeze the last few layers of a  BERT model using tf 2.0(or higher)

COMMENTS
1

REACTIONS
+1: 0
-1: 0
laugh: 0
hooray: 0
heart: 0
rocket: 0
eyes: 0

BODY
How can we freeze the last few layers of a  BERT model using tf 2.0(or higher)?
I just want to take the pre-trained layers and train the last few layers for fine-tuning on my own data in min time.