Saving weights and logs of step 37500
Browse files- flax_model.msgpack +1 -1
- flax_to_pt.py +5 -0
flax_model.msgpack
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497764120
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c448025ff2329ac30909b08df717b71777d6b68618aebd5d5167911313091df0
|
3 |
size 497764120
|
flax_to_pt.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import AutoModelForCausalLM
|
2 |
+
|
3 |
+
|
4 |
+
pt_model = AutoModelForCausalLM.from_pretrained('.', from_flax=True)
|
5 |
+
pt_model.save_pretrained(".")
|