File size: 131 Bytes
7b282b4 |
1 2 3 4 |
from transformers import BertForMaskedLM
model = BertForMaskedLM.from_pretrained("./", from_flax=True)
model.save_pretrained("./") |
7b282b4 |
1 2 3 4 |
from transformers import BertForMaskedLM
model = BertForMaskedLM.from_pretrained("./", from_flax=True)
model.save_pretrained("./") |