Marcel Bischoff
commited on
Commit
·
0e6349c
1
Parent(s):
d8d76e5
adding metadata
Browse files- model-00001-of-00002.safetensors +2 -2
- model-00002-of-00002.safetensors +2 -2
- patch_weights.py +1 -1
model-00001-of-00002.safetensors
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:2a6234dfb7cf0a8d9b6680e32fdadd35d64be11d54bf110d69d8e06a12c3012f
|
3 |
+
size 9965910088
|
model-00002-of-00002.safetensors
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:428467559de6797c3a601a11f583750ceb6616bb6ba0d8a58c88b943df98dcb3
|
3 |
+
size 5662981640
|
patch_weights.py
CHANGED
@@ -12,5 +12,5 @@ for file in glob("model*.safetensors"):
|
|
12 |
if k in patch_weights:
|
13 |
print(f"patching {k}")
|
14 |
weights[k] = torch.from_numpy(patch_weights[k])
|
15 |
-
save_file(weights, "patched_" + file)
|
16 |
|
|
|
12 |
if k in patch_weights:
|
13 |
print(f"patching {k}")
|
14 |
weights[k] = torch.from_numpy(patch_weights[k])
|
15 |
+
save_file(weights, "patched_" + file, metadata={"format": "pt"})
|
16 |
|