CoderHassan commited on
Commit
8aec2bd
·
verified ·
1 Parent(s): 9078e93

Create 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')