Added pytorch_model.bin
Browse files- convert_safetensors_to_bin.py +1 -1
- pytorch_model.bin +3 -0
convert_safetensors_to_bin.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoConfig, AutoModel
|
|
4 |
|
5 |
# Path to your safetensors file
|
6 |
safetensors_path = "model.safetensors"
|
7 |
-
bin_path = "
|
8 |
|
9 |
# Load model weights from safetensors
|
10 |
state_dict = load_file(safetensors_path)
|
|
|
4 |
|
5 |
# Path to your safetensors file
|
6 |
safetensors_path = "model.safetensors"
|
7 |
+
bin_path = "pytorch_model.bin"
|
8 |
|
9 |
# Load model weights from safetensors
|
10 |
state_dict = load_file(safetensors_path)
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fdcfd11ff269b813b13aba22a6968d85711eb1719401514eaf938629b034fa00
|
3 |
+
size 27110730
|