File size: 166 Bytes
d2b8df9
 
 
1
2
3
from transformers import TFElectraForSequenceClassification
model = TFElectraForSequenceClassification.from_pretrained("./", from_pt=True)
model.save_pretrained("./")