patrickvonplaten
commited on
Commit
•
724cc13
1
Parent(s):
267e820
up
Browse files
save.py
CHANGED
@@ -3,3 +3,4 @@ from transformers import CLIPTextModel
|
|
3 |
|
4 |
model = CLIPTextModel.from_pretrained("./text_encoder")
|
5 |
model.save_pretrained("./text_encoder", variant="no_ema")
|
|
|
|
3 |
|
4 |
model = CLIPTextModel.from_pretrained("./text_encoder")
|
5 |
model.save_pretrained("./text_encoder", variant="no_ema")
|
6 |
+
model.save_pretrained("./text_encoder", variant="fp16")
|
text_encoder/pytorch_model.bin.fp16
DELETED
Binary file (302 kB)
|
|
text_encoder/pytorch_model.bin.no_ema
DELETED
Binary file (302 kB)
|
|
text_encoder/pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b2ba10eab35d44f5e345cd9cac83da35dc387b3af3daaf62c8b2b31eada530a
|
3 |
+
size 302115
|
text_encoder/pytorch_model.no_ema.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80b106be1923d082970d3b6356487dc0b7822f74828abe6a9a5f57c71e12c85f
|
3 |
+
size 302289
|