Language.converters / pytorch_model.bin
CoderHassan's picture
Create pytorch_model.bin
8aec2bd verified
raw
history blame
188 Bytes
from transformers import T5ForConditionalGeneration
model = T5ForConditionalGeneration.from_pretrained('t5-small') # or the relevant model
model.save_pretrained('./t5_urdu_translation')