File size: 158 Bytes
d97a524
 
 
 
1
2
3
4
5
from transformers import T5ForConditionalGeneration

pt_model = T5ForConditionalGeneration.from_pretrained(".", from_flax=True)
pt_model.save_pretrained(".")