pytorch-pretrained-bert · PyPI
https://pypi.org/project/pytorch-pretrained-bert25.04.2019 · pytorch_model.bin a PyTorch dump of a pre-trained instance of BertForPreTraining, OpenAIGPTModel, TransfoXLModel, GPT2LMHeadModel (saved with the usual torch.save()) If PRE_TRAINED_MODEL_NAME_OR_PATH is a shortcut name, the pre-trained weights will be downloaded from AWS S3 (see the links here ) and stored in a cache folder to avoid future …