JoeSC

Results 3 comments of JoeSC

在您的config.py中发现有model_path = './bert_pretrain/pytorch_model.bin',但是文件中并没有这个

> > 在您的config.py中发现有model_path = './bert_pretrain/pytorch_model.bin',但是文件中并没有这个 > > 对呀 你需要下载 这个模型要三四百兆 所以 没上传 请问从哪里下载啊,是bert-base-uncased这个吗,这里面没有pytorch_model.bin呀

终于跑起来了 bert的预训练模型可以这样下载 ``` from transformers import BertForMaskedLM model = BertForMaskedLM.from_pretrained("bert-base-cased") ``` 修改config.py的 ``` model_path ='bert-base-cased' ```