bhadresh-savani's picture
added tf and flax support
7ec8067
raw
history blame
168 Bytes
from transformers import FlaxAutoModelForTokenClassification
model = FlaxAutoModelForTokenClassification.from_pretrained("./", from_pt=True)
model.save_pretrained("./")