File size: 160 Bytes
5f83f93 |
1 2 3 4 5 |
from transformers import BertForSequenceClassification
model = BertForSequenceClassification.from_pretrained("./", from_flax=True)
model.save_pretrained("./")
|
5f83f93 |
1 2 3 4 5 |
from transformers import BertForSequenceClassification
model = BertForSequenceClassification.from_pretrained("./", from_flax=True)
model.save_pretrained("./")
|