I see this https://github.com/huggingface/pytorch-pretrained-BERT 89
but I am not sure how I can extract features with it.
For example, I can give an image to resnet50 and extract the vector of length 2048 from the layer before softmax.
I am not sure how to do this for pretrained BERT.
Also, I am not sure if the link is what I am supposed to use.
Yes, some ready code maybe online?