distilbert-base-uncased-emotion-2 / convert_flax_to_pytorch.py
haqishen's picture
first commit
19cd3b5
raw
history blame contribute delete
168 Bytes
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("./", from_flax=True)
model.save_pretrained("./")