linoyts HF staff commited on
Commit
0212094
1 Parent(s): 90c6aa7

End of training

Browse files
2000_ads_linoy_multi.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ad5d6a51f7eb52c559cb16043f86fd22918a8de3e75dcacbe1ad6978cfbe0422
3
  size 186046568
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f0ff6a8b7ea5a78d730ad3469ccad0878246a5d490539d59698e009e0fc8e8e
3
  size 186046568
2000_ads_linoy_multi_emb.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f653792c8b266926f696c08f7b66ef2e1e075bd14e750ec695bd59ea703ba24
3
  size 32920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dc943c3eb33c28977968cb23953df4a348efbd19dfe35a96692265438fe4bea
3
  size 32920
README.md CHANGED
@@ -29,7 +29,7 @@ widget:
29
  "image_3.png"
30
 
31
  base_model: stabilityai/stable-diffusion-xl-base-1.0
32
- instance_prompt: an ad in the style of <s0><s1>
33
  license: openrail++
34
  ---
35
 
@@ -50,7 +50,7 @@ license: openrail++
50
  - On AUTOMATIC1111, load the LoRA by adding `<lora:2000_ads_linoy_multi:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
51
  - *Embeddings*: download **[`2000_ads_linoy_multi_emb.safetensors` here 💾](/linoyts/2000_ads_linoy_multi/blob/main/2000_ads_linoy_multi_emb.safetensors)**.
52
  - Place it on it on your `embeddings` folder
53
- - Use it by adding `2000_ads_linoy_multi_emb` to your prompt. For example, `an ad in the style of 2000_ads_linoy_multi_emb`
54
  (you need both the LoRA and the embeddings as they were trained together for this LoRA)
55
 
56
 
@@ -66,8 +66,8 @@ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusi
66
  pipeline.load_lora_weights('linoyts/2000_ads_linoy_multi', weight_name='pytorch_lora_weights.safetensors')
67
  embedding_path = hf_hub_download(repo_id='linoyts/2000_ads_linoy_multi', filename='2000_ads_linoy_multi_emb.safetensors' repo_type="model")
68
  state_dict = load_file(embedding_path)
69
- pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
70
- pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
71
 
72
  image = pipeline('<s0><s1> ad of a <s2><s3> woman wearing headphones').images[0]
73
  ```
 
29
  "image_3.png"
30
 
31
  base_model: stabilityai/stable-diffusion-xl-base-1.0
32
+ instance_prompt: an ad in the style of <s0><s1> of a <s2><s3> woman
33
  license: openrail++
34
  ---
35
 
 
50
  - On AUTOMATIC1111, load the LoRA by adding `<lora:2000_ads_linoy_multi:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
51
  - *Embeddings*: download **[`2000_ads_linoy_multi_emb.safetensors` here 💾](/linoyts/2000_ads_linoy_multi/blob/main/2000_ads_linoy_multi_emb.safetensors)**.
52
  - Place it on it on your `embeddings` folder
53
+ - Use it by adding `2000_ads_linoy_multi_emb` to your prompt. For example, `an ad in the style of 2000_ads_linoy_multi_emb of a woman`
54
  (you need both the LoRA and the embeddings as they were trained together for this LoRA)
55
 
56
 
 
66
  pipeline.load_lora_weights('linoyts/2000_ads_linoy_multi', weight_name='pytorch_lora_weights.safetensors')
67
  embedding_path = hf_hub_download(repo_id='linoyts/2000_ads_linoy_multi', filename='2000_ads_linoy_multi_emb.safetensors' repo_type="model")
68
  state_dict = load_file(embedding_path)
69
+ pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>", "<s2>", "<s3>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
70
+ pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>", "<s2>", "<s3>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
71
 
72
  image = pipeline('<s0><s1> ad of a <s2><s3> woman wearing headphones').images[0]
73
  ```
image_0.png CHANGED

Git LFS Details

  • SHA256: 458d05f44b4f63295efc43c50fe5727ef4dca0eedad9c54f3b09b6564492397f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.3 MB

Git LFS Details

  • SHA256: 74ff9a95091ce96cd6ff91a126c0533505394d693e02f90db63b0164a3a7ec0c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
image_1.png CHANGED

Git LFS Details

  • SHA256: dbee7352c33566fd3f5206c4f6789b09fe6ab528eef2d6ca87e990bf7a7446dd
  • Pointer size: 132 Bytes
  • Size of remote file: 1.25 MB

Git LFS Details

  • SHA256: 3f38ed439c2e7cd8a15133f98f25a75ea9d10f9f21e04d0bba1dc61baa6bc95c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.39 MB
image_2.png CHANGED

Git LFS Details

  • SHA256: 3e79a0d8af1d71d8e72961e34b64609fb8412cc1fc02ce16003e2f773922cdec
  • Pointer size: 132 Bytes
  • Size of remote file: 1.2 MB

Git LFS Details

  • SHA256: 03ffeb150d4504d6ae4595a5056b493ef4038cad75e69f9e92e26804b27bb683
  • Pointer size: 132 Bytes
  • Size of remote file: 1.26 MB
image_3.png CHANGED

Git LFS Details

  • SHA256: 98b83e3411d2afd4d16b552e1a9d66a45cb829d5d8879cefe5c602613a849ea7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.1 MB

Git LFS Details

  • SHA256: 56bfa70489c9281c00f16d7e79aa3bae0b700ef4b89dae762273ea50dda92b4a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
pytorch_lora_weights.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddb68376eb3953add6320d5185e8028dff34c593e9ace57076a3a1f284b2f4c9
3
  size 185963768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d92339536c7fc21b61dbbb802d8e2245eb418ec0b29f7f1384fb101a9f03db7
3
  size 185963768