Retrieve embedding from Fine Tune Bert For Binary Classification

Hi

I am following the below link for BERT implementation

May i know how can i retrieve the embedding of the sentences and feed in the another model like logistic regression / SVM…classification?

Should i add something to get the hidden state from the class BERT_Arch?

© Copyright 2013-2021 Analytics Vidhya