birgermoell commited on
Commit
ec35d64
1 Parent(s): 74ec215

Added pytorch model

Browse files
Files changed (2) hide show
  1. pytorch_model.bin +3 -0
  2. save_torch.py +3 -0
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:062a6456b5307dc9b702380da8c03ac5bc1ecec401b98f7a1656540d873009cd
3
+ size 498858859
save_torch.py ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ from transformers import AutoModelForMaskedLM
2
+ model = AutoModelForMaskedLM.from_pretrained(".", from_flax=True)
3
+ model.save_pretrained(".", save_config=False)