Spaces:
Sleeping
Sleeping
File size: 188 Bytes
606d4a2 | 1 2 3 4 5 | from transformers import T5ForConditionalGeneration
model = T5ForConditionalGeneration.from_pretrained('t5-small') # or the relevant model
model.save_pretrained('./t5_urdu_translation')
|