Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +19 -0
- .locks/models--runwayml--stable-diffusion-v1-5/05eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/19da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/1a02ee8abc93e840ffbcb2d68b66ccbcb74b3ab3.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/1a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/2a5ba19664aab2052c4ea484e737dff9aca1aa69.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/2c2130b544c0c5a72d5d00da071ba130a9800fb2.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/30eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/42bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/469be27c5c010538f845f518c4f5e8574c78f7c8.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/4d3e873ab5086ad989f407abd50fdce66db8d657.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/5294955ff7801083f720b34b55d0f1f51313c5c5.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/55d2855c5be698e0572b9f42af95f06bfd5fb002.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/55d78924fee13e4220f24320127c5f16284e13b9.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/5ba7bf706515bc60487ad0e1816b4929b82542d6.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/5dbd88952e7e521aa665e5052e6db7def3641d03.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/76e821f1b6f0a9709293c3b6b51ed90980b3166b.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/770a47a9ffdcfda0b05506a7888ed714d06131d60267e6cf52765d61cf59fd67.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/77795e2023adcf39bc29a884661950380bd093cf0750a966d473d1718dc9ef4e.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/82d05b0e688d7ea94675678646c427907419346e.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/9d6a233ff6fd5ccb9f76fd99618d73369c52dd3d8222376384d0e601911089e8.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/c7da0e21ba7ea50637bee26e81c220844defdf01aafca02b2c42ecdadb813de4.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/c83908253f9a64d08c25fc90874c9c8aef9a329ce1ca5fb909d73b0c83d1ea21.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/cd1b6db09a81cb1d39fbd245a89c1e3db9da9fe8eba5e8f9098ea6c4994221d3.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/d008943c017f0092921106440254dbbe00b6a285f7883ec8ba160c3faad88334.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/daf7e2e2dfc64fb437a2b44525667111b00cb9fc.lock +0 -0
- .locks/models--runwayml--stable-diffusion-v1-5/e1441589a6f3c5a53f5f54d0975a18a7feb7cdf0b0dee276dfc3331ae376a053.lock +0 -0
- feature_extractor/preprocessor_config.json +27 -0
- ffff/blobs/05eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7 +3 -0
- ffff/blobs/08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511 +3 -0
- ffff/blobs/193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974 +3 -0
- ffff/blobs/19da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1 +3 -0
- ffff/blobs/1a02ee8abc93e840ffbcb2d68b66ccbcb74b3ab3 +36 -0
- ffff/blobs/1a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6 +3 -0
- ffff/blobs/22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f +3 -0
- ffff/blobs/2a5ba19664aab2052c4ea484e737dff9aca1aa69 +202 -0
- ffff/blobs/2c2130b544c0c5a72d5d00da071ba130a9800fb2 +24 -0
- ffff/blobs/30eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92 +3 -0
- ffff/blobs/42bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1 +3 -0
- ffff/blobs/469be27c5c010538f845f518c4f5e8574c78f7c8 +0 -0
- ffff/blobs/4d3e873ab5086ad989f407abd50fdce66db8d657 +25 -0
- ffff/blobs/4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c +3 -0
- ffff/blobs/5294955ff7801083f720b34b55d0f1f51313c5c5 +20 -0
- ffff/blobs/55d2855c5be698e0572b9f42af95f06bfd5fb002 +35 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,22 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
ffff/blobs/05eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
ffff/blobs/08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
ffff/blobs/193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
ffff/blobs/19da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
ffff/blobs/1a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
ffff/blobs/22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
ffff/blobs/30eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
ffff/blobs/42bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
ffff/blobs/4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
ffff/blobs/6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
ffff/blobs/770a47a9ffdcfda0b05506a7888ed714d06131d60267e6cf52765d61cf59fd67 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
ffff/blobs/77795e2023adcf39bc29a884661950380bd093cf0750a966d473d1718dc9ef4e filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
ffff/blobs/9d6a233ff6fd5ccb9f76fd99618d73369c52dd3d8222376384d0e601911089e8 filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
ffff/blobs/c7da0e21ba7ea50637bee26e81c220844defdf01aafca02b2c42ecdadb813de4 filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
ffff/blobs/c83908253f9a64d08c25fc90874c9c8aef9a329ce1ca5fb909d73b0c83d1ea21 filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
ffff/blobs/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516 filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
ffff/blobs/cd1b6db09a81cb1d39fbd245a89c1e3db9da9fe8eba5e8f9098ea6c4994221d3 filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
ffff/blobs/d008943c017f0092921106440254dbbe00b6a285f7883ec8ba160c3faad88334 filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
ffff/blobs/e1441589a6f3c5a53f5f54d0975a18a7feb7cdf0b0dee276dfc3331ae376a053 filter=lfs diff=lfs merge=lfs -text
|
.locks/models--runwayml--stable-diffusion-v1-5/05eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/19da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/1a02ee8abc93e840ffbcb2d68b66ccbcb74b3ab3.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/1a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/2a5ba19664aab2052c4ea484e737dff9aca1aa69.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/2c2130b544c0c5a72d5d00da071ba130a9800fb2.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/30eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/42bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/469be27c5c010538f845f518c4f5e8574c78f7c8.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/4d3e873ab5086ad989f407abd50fdce66db8d657.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/5294955ff7801083f720b34b55d0f1f51313c5c5.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/55d2855c5be698e0572b9f42af95f06bfd5fb002.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/55d78924fee13e4220f24320127c5f16284e13b9.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/5ba7bf706515bc60487ad0e1816b4929b82542d6.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/5dbd88952e7e521aa665e5052e6db7def3641d03.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/76e821f1b6f0a9709293c3b6b51ed90980b3166b.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/770a47a9ffdcfda0b05506a7888ed714d06131d60267e6cf52765d61cf59fd67.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/77795e2023adcf39bc29a884661950380bd093cf0750a966d473d1718dc9ef4e.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/82d05b0e688d7ea94675678646c427907419346e.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/9d6a233ff6fd5ccb9f76fd99618d73369c52dd3d8222376384d0e601911089e8.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/c7da0e21ba7ea50637bee26e81c220844defdf01aafca02b2c42ecdadb813de4.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/c83908253f9a64d08c25fc90874c9c8aef9a329ce1ca5fb909d73b0c83d1ea21.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/cd1b6db09a81cb1d39fbd245a89c1e3db9da9fe8eba5e8f9098ea6c4994221d3.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/d008943c017f0092921106440254dbbe00b6a285f7883ec8ba160c3faad88334.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/daf7e2e2dfc64fb437a2b44525667111b00cb9fc.lock
ADDED
|
File without changes
|
.locks/models--runwayml--stable-diffusion-v1-5/e1441589a6f3c5a53f5f54d0975a18a7feb7cdf0b0dee276dfc3331ae376a053.lock
ADDED
|
File without changes
|
feature_extractor/preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.26862954,
|
| 19 |
+
0.26130258,
|
| 20 |
+
0.27577711
|
| 21 |
+
],
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"shortest_edge": 224
|
| 26 |
+
}
|
| 27 |
+
}
|
ffff/blobs/05eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7
|
| 3 |
+
size 246187076
|
ffff/blobs/08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511
|
| 3 |
+
size 608018440
|
ffff/blobs/193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974
|
| 3 |
+
size 1216061799
|
ffff/blobs/19da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1
|
| 3 |
+
size 3438167540
|
ffff/blobs/1a02ee8abc93e840ffbcb2d68b66ccbcb74b3ab3
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.6.0",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"attention_head_dim": 8,
|
| 6 |
+
"block_out_channels": [
|
| 7 |
+
320,
|
| 8 |
+
640,
|
| 9 |
+
1280,
|
| 10 |
+
1280
|
| 11 |
+
],
|
| 12 |
+
"center_input_sample": false,
|
| 13 |
+
"cross_attention_dim": 768,
|
| 14 |
+
"down_block_types": [
|
| 15 |
+
"CrossAttnDownBlock2D",
|
| 16 |
+
"CrossAttnDownBlock2D",
|
| 17 |
+
"CrossAttnDownBlock2D",
|
| 18 |
+
"DownBlock2D"
|
| 19 |
+
],
|
| 20 |
+
"downsample_padding": 1,
|
| 21 |
+
"flip_sin_to_cos": true,
|
| 22 |
+
"freq_shift": 0,
|
| 23 |
+
"in_channels": 4,
|
| 24 |
+
"layers_per_block": 2,
|
| 25 |
+
"mid_block_scale_factor": 1,
|
| 26 |
+
"norm_eps": 1e-05,
|
| 27 |
+
"norm_num_groups": 32,
|
| 28 |
+
"out_channels": 4,
|
| 29 |
+
"sample_size": 64,
|
| 30 |
+
"up_block_types": [
|
| 31 |
+
"UpBlock2D",
|
| 32 |
+
"CrossAttnUpBlock2D",
|
| 33 |
+
"CrossAttnUpBlock2D",
|
| 34 |
+
"CrossAttnUpBlock2D"
|
| 35 |
+
]
|
| 36 |
+
}
|
ffff/blobs/1a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6
|
| 3 |
+
size 7703324286
|
ffff/blobs/22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f
|
| 3 |
+
size 608103564
|
ffff/blobs/2a5ba19664aab2052c4ea484e737dff9aca1aa69
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: creativeml-openrail-m
|
| 3 |
+
tags:
|
| 4 |
+
- stable-diffusion
|
| 5 |
+
- stable-diffusion-diffusers
|
| 6 |
+
- text-to-image
|
| 7 |
+
inference: true
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Stable Diffusion v1-5 Model Card
|
| 11 |
+
|
| 12 |
+
### ⚠️ This repository is a mirror of the now deprecated `ruwnayml/stable-diffusion-v1-5`, this repository or organization are not affiliated in any way with RunwayML.
|
| 13 |
+
Modifications to the original model card are in <span style="color:crimson">red</span> or <span style="color:darkgreen">green</span>
|
| 14 |
+
|
| 15 |
+
Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input.
|
| 16 |
+
For more information about how Stable Diffusion functions, please have a look at [🤗's Stable Diffusion blog](https://huggingface.co/blog/stable_diffusion).
|
| 17 |
+
|
| 18 |
+
The **Stable-Diffusion-v1-5** checkpoint was initialized with the weights of the [Stable-Diffusion-v1-2](https:/steps/huggingface.co/CompVis/stable-diffusion-v1-2)
|
| 19 |
+
checkpoint and subsequently fine-tuned on 595k steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10% dropping of the text-conditioning to improve [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598).
|
| 20 |
+
|
| 21 |
+
You can use this both with the [🧨Diffusers library](https://github.com/huggingface/diffusers) and [RunwayML GitHub repository](https://github.com/runwayml/stable-diffusion) (<span style="color:crimson">now deprecated</span>), <span style="color:darkgreen">ComfyUI, Automatic1111, SD.Next, InvokeAI</span>.
|
| 22 |
+
|
| 23 |
+
### Use with Diffusers
|
| 24 |
+
```py
|
| 25 |
+
from diffusers import StableDiffusionPipeline
|
| 26 |
+
import torch
|
| 27 |
+
|
| 28 |
+
model_id = "sd-legacy/stable-diffusion-v1-5"
|
| 29 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 30 |
+
pipe = pipe.to("cuda")
|
| 31 |
+
|
| 32 |
+
prompt = "a photo of an astronaut riding a horse on mars"
|
| 33 |
+
image = pipe(prompt).images[0]
|
| 34 |
+
|
| 35 |
+
image.save("astronaut_rides_horse.png")
|
| 36 |
+
```
|
| 37 |
+
For more detailed instructions, use-cases and examples in JAX follow the instructions [here](https://github.com/huggingface/diffusers#text-to-image-generation-with-stable-diffusion)
|
| 38 |
+
|
| 39 |
+
### Use with GitHub Repository <span style="color:crimson">(now deprecated)</span>, <span style="color:darkgreen">ComfyUI or Automatic1111</span>
|
| 40 |
+
|
| 41 |
+
1. Download the weights
|
| 42 |
+
- [v1-5-pruned-emaonly.safetensors](https://huggingface.co/sd-legacy/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors) - ema-only weight. uses less VRAM - suitable for inference
|
| 43 |
+
- [v1-5-pruned.safetensors](https://huggingface.co/sd-legacy/stable-diffusion-v1-5/resolve/main/v1-5-pruned.safetensors) - ema+non-ema weights. uses more VRAM - suitable for fine-tuning
|
| 44 |
+
|
| 45 |
+
2. Follow instructions [here](https://github.com/runwayml/stable-diffusion). <span style="color:crimson">(now deprecated)</span>
|
| 46 |
+
|
| 47 |
+
3. <span style="color:darkgreen">Use locally with <a href="https://github.com/comfyanonymous/ComfyUI">ComfyUI</a>, <a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui">AUTOMATIC1111</a>, <a href="https://github.com/vladmandic/automatic">SD.Next</a>, <a href="https://github.com/invoke-ai/InvokeAI">InvokeAI</a></span>
|
| 48 |
+
|
| 49 |
+
## Model Details
|
| 50 |
+
- **Developed by:** Robin Rombach, Patrick Esser
|
| 51 |
+
- **Model type:** Diffusion-based text-to-image generation model
|
| 52 |
+
- **Language(s):** English
|
| 53 |
+
- **License:** [The CreativeML OpenRAIL M license](https://huggingface.co/spaces/CompVis/stable-diffusion-license) is an [Open RAIL M license](https://www.licenses.ai/blog/2022/8/18/naming-convention-of-responsible-ai-licenses), adapted from the work that [BigScience](https://bigscience.huggingface.co/) and [the RAIL Initiative](https://www.licenses.ai/) are jointly carrying in the area of responsible AI licensing. See also [the article about the BLOOM Open RAIL license](https://bigscience.huggingface.co/blog/the-bigscience-rail-license) on which our license is based.
|
| 54 |
+
- **Model Description:** This is a model that can be used to generate and modify images based on text prompts. It is a [Latent Diffusion Model](https://arxiv.org/abs/2112.10752) that uses a fixed, pretrained text encoder ([CLIP ViT-L/14](https://arxiv.org/abs/2103.00020)) as suggested in the [Imagen paper](https://arxiv.org/abs/2205.11487).
|
| 55 |
+
- **Resources for more information:** [GitHub Repository](https://github.com/CompVis/stable-diffusion), [Paper](https://arxiv.org/abs/2112.10752).
|
| 56 |
+
- **Cite as:**
|
| 57 |
+
|
| 58 |
+
@InProceedings{Rombach_2022_CVPR,
|
| 59 |
+
author = {Rombach, Robin and Blattmann, Andreas and Lorenz, Dominik and Esser, Patrick and Ommer, Bj\"orn},
|
| 60 |
+
title = {High-Resolution Image Synthesis With Latent Diffusion Models},
|
| 61 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 62 |
+
month = {June},
|
| 63 |
+
year = {2022},
|
| 64 |
+
pages = {10684-10695}
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
# Uses
|
| 68 |
+
|
| 69 |
+
## Direct Use
|
| 70 |
+
The model is intended for research purposes only. Possible research areas and
|
| 71 |
+
tasks include
|
| 72 |
+
|
| 73 |
+
- Safe deployment of models which have the potential to generate harmful content.
|
| 74 |
+
- Probing and understanding the limitations and biases of generative models.
|
| 75 |
+
- Generation of artworks and use in design and other artistic processes.
|
| 76 |
+
- Applications in educational or creative tools.
|
| 77 |
+
- Research on generative models.
|
| 78 |
+
|
| 79 |
+
Excluded uses are described below.
|
| 80 |
+
|
| 81 |
+
### Misuse, Malicious Use, and Out-of-Scope Use
|
| 82 |
+
_Note: This section is taken from the [DALLE-MINI model card](https://huggingface.co/dalle-mini/dalle-mini), but applies in the same way to Stable Diffusion v1_.
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
|
| 86 |
+
|
| 87 |
+
#### Out-of-Scope Use
|
| 88 |
+
The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
|
| 89 |
+
|
| 90 |
+
#### Misuse and Malicious Use
|
| 91 |
+
Using the model to generate content that is cruel to individuals is a misuse of this model. This includes, but is not limited to:
|
| 92 |
+
|
| 93 |
+
- Generating demeaning, dehumanizing, or otherwise harmful representations of people or their environments, cultures, religions, etc.
|
| 94 |
+
- Intentionally promoting or propagating discriminatory content or harmful stereotypes.
|
| 95 |
+
- Impersonating individuals without their consent.
|
| 96 |
+
- Sexual content without consent of the people who might see it.
|
| 97 |
+
- Mis- and disinformation
|
| 98 |
+
- Representations of egregious violence and gore
|
| 99 |
+
- Sharing of copyrighted or licensed material in violation of its terms of use.
|
| 100 |
+
- Sharing content that is an alteration of copyrighted or licensed material in violation of its terms of use.
|
| 101 |
+
|
| 102 |
+
## Limitations and Bias
|
| 103 |
+
|
| 104 |
+
### Limitations
|
| 105 |
+
|
| 106 |
+
- The model does not achieve perfect photorealism
|
| 107 |
+
- The model cannot render legible text
|
| 108 |
+
- The model does not perform well on more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere”
|
| 109 |
+
- Faces and people in general may not be generated properly.
|
| 110 |
+
- The model was trained mainly with English captions and will not work as well in other languages.
|
| 111 |
+
- The autoencoding part of the model is lossy
|
| 112 |
+
- The model was trained on a large-scale dataset
|
| 113 |
+
[LAION-5B](https://laion.ai/blog/laion-5b/) which contains adult material
|
| 114 |
+
and is not fit for product use without additional safety mechanisms and
|
| 115 |
+
considerations.
|
| 116 |
+
- No additional measures were used to deduplicate the dataset. As a result, we observe some degree of memorization for images that are duplicated in the training data.
|
| 117 |
+
The training data can be searched at [https://rom1504.github.io/clip-retrieval/](https://rom1504.github.io/clip-retrieval/) to possibly assist in the detection of memorized images.
|
| 118 |
+
|
| 119 |
+
### Bias
|
| 120 |
+
|
| 121 |
+
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
|
| 122 |
+
Stable Diffusion v1 was trained on subsets of [LAION-2B(en)](https://laion.ai/blog/laion-5b/),
|
| 123 |
+
which consists of images that are primarily limited to English descriptions.
|
| 124 |
+
Texts and images from communities and cultures that use other languages are likely to be insufficiently accounted for.
|
| 125 |
+
This affects the overall output of the model, as white and western cultures are often set as the default. Further, the
|
| 126 |
+
ability of the model to generate content with non-English prompts is significantly worse than with English-language prompts.
|
| 127 |
+
|
| 128 |
+
### Safety Module
|
| 129 |
+
|
| 130 |
+
The intended use of this model is with the [Safety Checker](https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/safety_checker.py) in Diffusers.
|
| 131 |
+
This checker works by checking model outputs against known hard-coded NSFW concepts.
|
| 132 |
+
The concepts are intentionally hidden to reduce the likelihood of reverse-engineering this filter.
|
| 133 |
+
Specifically, the checker compares the class probability of harmful concepts in the embedding space of the `CLIPTextModel` *after generation* of the images.
|
| 134 |
+
The concepts are passed into the model with the generated image and compared to a hand-engineered weight for each NSFW concept.
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
## Training
|
| 138 |
+
|
| 139 |
+
**Training Data**
|
| 140 |
+
The model developers used the following dataset for training the model:
|
| 141 |
+
|
| 142 |
+
- LAION-2B (en) and subsets thereof (see next section)
|
| 143 |
+
|
| 144 |
+
**Training Procedure**
|
| 145 |
+
Stable Diffusion v1-5 is a latent diffusion model which combines an autoencoder with a diffusion model that is trained in the latent space of the autoencoder. During training,
|
| 146 |
+
|
| 147 |
+
- Images are encoded through an encoder, which turns images into latent representations. The autoencoder uses a relative downsampling factor of 8 and maps images of shape H x W x 3 to latents of shape H/f x W/f x 4
|
| 148 |
+
- Text prompts are encoded through a ViT-L/14 text-encoder.
|
| 149 |
+
- The non-pooled output of the text encoder is fed into the UNet backbone of the latent diffusion model via cross-attention.
|
| 150 |
+
- The loss is a reconstruction objective between the noise that was added to the latent and the prediction made by the UNet.
|
| 151 |
+
|
| 152 |
+
Currently six Stable Diffusion checkpoints are provided, which were trained as follows.
|
| 153 |
+
- [`stable-diffusion-v1-1`](https://huggingface.co/CompVis/stable-diffusion-v1-1): 237,000 steps at resolution `256x256` on [laion2B-en](https://huggingface.co/datasets/laion/laion2B-en).
|
| 154 |
+
194,000 steps at resolution `512x512` on [laion-high-resolution](https://huggingface.co/datasets/laion/laion-high-resolution) (170M examples from LAION-5B with resolution `>= 1024x1024`).
|
| 155 |
+
- [`stable-diffusion-v1-2`](https://huggingface.co/CompVis/stable-diffusion-v1-2): Resumed from `stable-diffusion-v1-1`.
|
| 156 |
+
515,000 steps at resolution `512x512` on "laion-improved-aesthetics" (a subset of laion2B-en,
|
| 157 |
+
filtered to images with an original size `>= 512x512`, estimated aesthetics score `> 5.0`, and an estimated watermark probability `< 0.5`. The watermark estimate is from the LAION-5B metadata, the aesthetics score is estimated using an [improved aesthetics estimator](https://github.com/christophschuhmann/improved-aesthetic-predictor)).
|
| 158 |
+
- [`stable-diffusion-v1-3`](https://huggingface.co/CompVis/stable-diffusion-v1-3): Resumed from `stable-diffusion-v1-2` - 195,000 steps at resolution `512x512` on "laion-improved-aesthetics" and 10 % dropping of the text-conditioning to improve [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598).
|
| 159 |
+
- [`stable-diffusion-v1-4`](https://huggingface.co/CompVis/stable-diffusion-v1-4) Resumed from `stable-diffusion-v1-2` - 225,000 steps at resolution `512x512` on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598).
|
| 160 |
+
- [`stable-diffusion-v1-5`](https://huggingface.co/sd-legacy/stable-diffusion-v1-5) Resumed from `stable-diffusion-v1-2` - 595,000 steps at resolution `512x512` on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598).
|
| 161 |
+
- [`stable-diffusion-inpainting`](https://huggingface.co/sd-legacy/stable-diffusion-inpainting) Resumed from `stable-diffusion-v1-5` - then 440,000 steps of inpainting training at resolution 512x512 on “laion-aesthetics v2 5+” and 10% dropping of the text-conditioning. For inpainting, the UNet has 5 additional input channels (4 for the encoded masked-image and 1 for the mask itself) whose weights were zero-initialized after restoring the non-inpainting checkpoint. During training, we generate synthetic masks and in 25% mask everything.
|
| 162 |
+
|
| 163 |
+
- **Hardware:** 32 x 8 x A100 GPUs
|
| 164 |
+
- **Optimizer:** AdamW
|
| 165 |
+
- **Gradient Accumulations**: 2
|
| 166 |
+
- **Batch:** 32 x 8 x 2 x 4 = 2048
|
| 167 |
+
- **Learning rate:** warmup to 0.0001 for 10,000 steps and then kept constant
|
| 168 |
+
|
| 169 |
+
## Evaluation Results
|
| 170 |
+
Evaluations with different classifier-free guidance scales (1.5, 2.0, 3.0, 4.0,
|
| 171 |
+
5.0, 6.0, 7.0, 8.0) and 50 PNDM/PLMS sampling
|
| 172 |
+
steps show the relative improvements of the checkpoints:
|
| 173 |
+
|
| 174 |
+

|
| 175 |
+
|
| 176 |
+
Evaluated using 50 PLMS steps and 10000 random prompts from the COCO2017 validation set, evaluated at 512x512 resolution. Not optimized for FID scores.
|
| 177 |
+
## Environmental Impact
|
| 178 |
+
|
| 179 |
+
**Stable Diffusion v1** **Estimated Emissions**
|
| 180 |
+
Based on that information, we estimate the following CO2 emissions using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). The hardware, runtime, cloud provider, and compute region were utilized to estimate the carbon impact.
|
| 181 |
+
|
| 182 |
+
- **Hardware Type:** A100 PCIe 40GB
|
| 183 |
+
- **Hours used:** 150000
|
| 184 |
+
- **Cloud Provider:** AWS
|
| 185 |
+
- **Compute Region:** US-east
|
| 186 |
+
- **Carbon Emitted (Power consumption x Time x Carbon produced based on location of power grid):** 11250 kg CO2 eq.
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
## Citation
|
| 190 |
+
|
| 191 |
+
```bibtex
|
| 192 |
+
@InProceedings{Rombach_2022_CVPR,
|
| 193 |
+
author = {Rombach, Robin and Blattmann, Andreas and Lorenz, Dominik and Esser, Patrick and Ommer, Bj\"orn},
|
| 194 |
+
title = {High-Resolution Image Synthesis With Latent Diffusion Models},
|
| 195 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 196 |
+
month = {June},
|
| 197 |
+
year = {2022},
|
| 198 |
+
pages = {10684-10695}
|
| 199 |
+
}
|
| 200 |
+
```
|
| 201 |
+
|
| 202 |
+
*This model card was written by: Robin Rombach and Patrick Esser and is based on the [DALL-E Mini model card](https://huggingface.co/dalle-mini/dalle-mini).*
|
ffff/blobs/2c2130b544c0c5a72d5d00da071ba130a9800fb2
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|startoftext|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "<|endoftext|>",
|
| 17 |
+
"unk_token": {
|
| 18 |
+
"content": "<|endoftext|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": true,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
}
|
| 24 |
+
}
|
ffff/blobs/30eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92
|
| 3 |
+
size 1719327893
|
ffff/blobs/42bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1
|
| 3 |
+
size 3438366373
|
ffff/blobs/469be27c5c010538f845f518c4f5e8574c78f7c8
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
ffff/blobs/4d3e873ab5086ad989f407abd50fdce66db8d657
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "openai/clip-vit-large-patch14",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CLIPTextModel"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"dropout": 0.0,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "quick_gelu",
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"initializer_factor": 1.0,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 3072,
|
| 15 |
+
"layer_norm_eps": 1e-05,
|
| 16 |
+
"max_position_embeddings": 77,
|
| 17 |
+
"model_type": "clip_text_model",
|
| 18 |
+
"num_attention_heads": 12,
|
| 19 |
+
"num_hidden_layers": 12,
|
| 20 |
+
"pad_token_id": 1,
|
| 21 |
+
"projection_dim": 768,
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.22.0.dev0",
|
| 24 |
+
"vocab_size": 49408
|
| 25 |
+
}
|
ffff/blobs/4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
|
| 3 |
+
size 167335342
|
ffff/blobs/5294955ff7801083f720b34b55d0f1f51313c5c5
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": 224,
|
| 3 |
+
"do_center_crop": true,
|
| 4 |
+
"do_convert_rgb": true,
|
| 5 |
+
"do_normalize": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
| 8 |
+
"image_mean": [
|
| 9 |
+
0.48145466,
|
| 10 |
+
0.4578275,
|
| 11 |
+
0.40821073
|
| 12 |
+
],
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.26862954,
|
| 15 |
+
0.26130258,
|
| 16 |
+
0.27577711
|
| 17 |
+
],
|
| 18 |
+
"resample": 3,
|
| 19 |
+
"size": 224
|
| 20 |
+
}
|
ffff/blobs/55d2855c5be698e0572b9f42af95f06bfd5fb002
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
v1-5-pruned-emaonly.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
v1-5-pruned.ckpt filter=lfs diff=lfs merge=lfs -text
|