Convert latest model to PyTorch
Browse files- flax_to_torch.py +1 -1
- 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-
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a12ed7389606b65846e3445153a010efbada4755ea9fbb1f558b347efcdfc57
|
3 |
+
size 498872747
|