CoderHassan commited on
Commit
606d4a2
·
verified ·
1 Parent(s): d066bdf

pytorch_model.bin

Browse files
Files changed (1) hide show
  1. pytorch_model.bin +4 -0
pytorch_model.bin ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from transformers import T5ForConditionalGeneration
2
+
3
+ model = T5ForConditionalGeneration.from_pretrained('t5-small') # or the relevant model
4
+ model.save_pretrained('./t5_urdu_translation')