distilbert-base-uncased-emotion / convert_flax_to_pytorch.py
bhadresh-savani's picture
added tensorflow and flax model
fff238f
raw
history blame contribute delete
168 Bytes
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("./", from_flax=True)
model.save_pretrained("./")