File size: 170 Bytes
4be8ab1 |
1 2 3 |
from transformers import TFAutoModelForSequenceClassification
model = TFAutoModelForSequenceClassification.from_pretrained("./", from_pt=True)
model.save_pretrained("./") |
4be8ab1 |
1 2 3 |
from transformers import TFAutoModelForSequenceClassification
model = TFAutoModelForSequenceClassification.from_pretrained("./", from_pt=True)
model.save_pretrained("./") |