hassiahk commited on
Commit
d5cc6ba
1 Parent(s): c4e4546

Convert latest model to PyTorch

Browse files
Files changed (2) hide show
  1. flax_to_torch.py +1 -1
  2. pytorch_model.bin +2 -2
flax_to_torch.py CHANGED
@@ -14,7 +14,7 @@ def convert_flax_model_to_torch(flax_model_path: str, torch_model_path: str = ".
14
  if __name__ == "__main__":
15
  parser = argparse.ArgumentParser(description="Flax to Pytorch model coversion")
16
  parser.add_argument(
17
- "--flax_model_path", type=str, default="flax-community/roberta-pretraining-hindi", help="Flax model path"
18
  )
19
  parser.add_argument("--torch_model_path", type=str, default="./", help="PyTorch model path")
20
 
 
14
  if __name__ == "__main__":
15
  parser = argparse.ArgumentParser(description="Flax to Pytorch model coversion")
16
  parser.add_argument(
17
+ "--flax_model_path", type=str, default="flax-community/roberta-hindi", help="Flax model path"
18
  )
19
  parser.add_argument("--torch_model_path", type=str, default="./", help="PyTorch model path")
20
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b875bdd3dd97d43498691f8fa783a8ded0881b387151102d6fe15b0818b596f
3
- size 498858859
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a12ed7389606b65846e3445153a010efbada4755ea9fbb1f558b347efcdfc57
3
+ size 498872747