加載模型pre-trained model (weights) model = BertModel.from_pretrained('bert-base-uncased') model.eval() # GPU & put everything on cuda ...
確定! 回上一頁