emotion_detection_model / convert_flax_to_pytorch.py
kanad13's picture
files added
4be8ab1 verified
raw
history blame contribute delete
168 Bytes
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("./", from_flax=True)
model.save_pretrained("./")