pytorch_pretrained_BERT icon indicating copy to clipboard operation
pytorch_pretrained_BERT copied to clipboard

Always download

Open carry-xz opened this issue 4 years ago • 1 comments

hi ,nice work When i use this package, BertModel.from_pretrained('bert-base-uncased'), it's always download when program restart, Can I just download it once?

carry-xz avatar Sep 29 '20 12:09 carry-xz

@carry-xz may be you could replace bert-base-uncased with the download path ~/.pytorch_pretrained_bert/

You could refer https://github.com/Meelfy/pytorch_pretrained_BERT#loading-google-ais-pre-trained-weigths-and-pytorch-dump.

lioninline avatar Jan 24 '21 12:01 lioninline