distilbert-base-uncased-sentiment-sst2 / convert_flax_to_pytorch.py
bhadresh-savani's picture
added pytorch and tensorflow model
ba72176
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("./", from_flax=True)
model.save_pretrained("./")