[ad_1]
I’m new to python. Using anaconda and jupyter notebook, I’m trying to load pretrained BERT model.
Installation: pip install pytorch_pretrained_bert
went without any errors,
but when I try to run: from pytorch_pretrained_bert import BertTokenizer, BertModel, BertForMaskedLM
,
I am met with an error that says:
cannot import name ‘PROTOCOL_TLS’
Any advice on how to fix this?
[ad_2]