description: <p><span style="color:rgb(230, 237, 243)">🐣 Please follow me for new updates </span><a target="_blank" rel="ugc" href="https://twitter.com/camenduru￼🔥">https://twitter.com/camenduru<br /><span style="color:rgb(230, 237, 243)">🔥</span></a><span style="color:rgb(230, 237, 243)"> Please join our discord server </span><a target="_blank" rel="ugc" href="https://discord.gg/k5BwmmvJJU￼🥳">https://discord.gg/k5BwmmvJJU<br /><span style="color:rgb(230, 237, 243)">🥳</span></a><span style="color:rgb(230, 237, 243)"> Please join my patreon community </span><a target="_blank" rel="ugc" href="https://patreon.com/camenduru">https://patreon.com/camenduru</a></p><p></p><p><span style="color:rgb(230, 237, 243)">Model Colab</span><span style="color:rgb(134, 142, 150)">: </span><a target="_blank" rel="ugc" href="https://github.com/camenduru/ios-emoji-xl-model-colab">https://github.com/camenduru/ios-emoji-xl-model-colab</a><br /><span style="color:rgb(230, 237, 243)">Model Mirror</span>: <a target="_blank" rel="ugc" href="https://huggingface.co/camenduru/ios-emoji-xl/blob/main/ios_emoji_xl_v2_lora_webui.safetensors">https://huggingface.co/camenduru/ios-emoji-xl/blob/main/ios_emoji_xl_v2_lora_webui.safetensors</a><br /><span style="color:rgb(230, 237, 243)">Model Dataset: </span><a target="_blank" rel="ugc" href="https://huggingface.co/camenduru/ios-emoji-xl/blob/main/dataset_160x160_images.zip">https://huggingface.co/camenduru/ios-emoji-xl/blob/main/dataset_160x160_images.zip</a><br /><span style="color:rgb(230, 237, 243)">Thanks to </span><a target="_blank" rel="ugc" href="https://github.com/samuelngs/apple-emoji-linux">https://github.com/samuelngs/apple-emoji-linux</a><span style="color:rgb(230, 237, 243)"> for the 160x160 pixel emojis ❤</span><br /><span style="color:rgb(230, 237, 243)">Thanks to </span><a target="_blank" rel="ugc" href="https://replicate.com">https://replicate.com</a><span style="color:rgb(230, 237, 243)"> ❤</span><br /><br /><span style="color:rgb(230, 237, 243)">Training Logs:</span></p><pre><code>Trained with 160x160 pixel ios v16.4 emojis 😋
  
  GPU = Nvidia A40 (Large) at https://replicate.com
  Num examples = 4129
  Num batches each epoch = 1033
  Num Epochs = 1
  Instantaneous batch size per device = 4
  Total train batch size (w. parallel, distributed &amp; accumulation) = 4
  Gradient Accumulation steps = 1
  Total optimization steps = 1000
  Total Run time: 45.46 minutes
  Total Cost: $1.98</code></pre><p><span style="color:rgb(230, 237, 243)">Replicate LoRA to WebUI LoRA Converter</span></p><ul><li><p><span style="color:rgb(230, 237, 243)">Thanks to</span></p></li><li><p><a target="_blank" rel="ugc" href="https://github.com/ignacfetser">https://github.com/ignacfetser</a> ❤</p></li><li><p><a target="_blank" rel="ugc" href="https://github.com/huggingface/diffusers/issues/2326">huggingface/diffusers#2326</a> ❤</p></li><li><p><a target="_blank" rel="ugc" href="https://github.com/harrywang/finetune-sd/blob/main/convert-to-safetensors.py">https://github.com/harrywang/finetune-sd/blob/main/convert-to-safetensors.py</a> ❤</p></li></ul><pre><code>pip install safetensors==0.3.3
  
  import re
  from safetensors.torch import load_file, save_file
  checkpoint = load_file('/content/ui/models/Lora/ios_emoji_xl_v2_lora.safetensors')
  new_dict = dict()
  for idx, key in enumerate(checkpoint):
      new_key = re.sub('\.processor\.', '_', key)
      new_key = re.sub('mid_block\.', 'mid_block_', new_key)
      new_key = re.sub('_lora.up.', '.lora_up.', new_key)
      new_key = re.sub('_lora.down.', '.lora_down.', new_key)
      new_key = re.sub('\.(\d+)\.', '_\\1_', new_key)
      new_key = re.sub('to_out', 'to_out_0', new_key)
      new_key = 'lora_unet_' + new_key
      new_dict[new_key] = checkpoint[key]
  save_file(new_dict, 'ios_emoji_xl_v2_lora_webui.safetensors')</code></pre><p><span style="color:rgb(230, 237, 243)">Thanks to fofr ❤ for the idea.</span><br /><span style="color:rgb(230, 237, 243)">fofr's model: </span><a target="_blank" rel="ugc" href="https://twitter.com/fofrAI/status/1698741974835065171">https://twitter.com/fofrAI/status/1698741974835065171</a></p>
modelVersions.availability: Public
modelVersions.baseModel: SDXL 1.0
modelVersions.downloadUrl: https://civitai.com/api/download/models/156259
modelVersions.downloaded: true
modelVersions.downloadUrl: https://civitai.com/api/download/models/156259
modelVersions.AutoV1: 0F32A860
modelVersions.AutoV2: 62A7995063
modelVersions.AutoV3: 95EC0E430043
modelVersions.BLAKE3: 270A2941F750B359D73E356DD55C078182F5F0A1BDBE1D16A024515DD708D543
modelVersions.CRC32: 2435118C
modelVersions.SHA256: 62A79950631AE544F7FB9C93A0FB0368434DB5046DF9EF98E8E5F5C35C64AD51
modelVersions.format: SafeTensor
modelVersions.name: ios_emoji_xl_v2_lora_webui.safetensors
modelVersions.pickleScanMessage: No Pickle imports
modelVersions.pickleScanResult: Success
modelVersions.scannedAt: 2023-09-06T09:00:51.635Z
modelVersions.type: Model
modelVersions.virusScanResult: Success
modelVersions.hash: UAL|MMWa0EWZ7Poy}$${0D-h^}-,05D=~lbc
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a4478dbd-20cf-4b71-a225-65edf6034c81/width=450/2377151.jpeg
modelVersions.hash: U3B:y;xv00WW4TWB~qt7BYfl]zoJtRj[M{WB
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4195a3f2-a905-4dd2-ae11-020297fe1f66/width=450/2376699.jpeg
modelVersions.hash: UFL._%{gHvJP}9GY#D;2Q;fj-:Ot-ZnP62S7
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a6583ff3-f1fd-42cb-91ca-fdeafe88f8d5/width=450/2376700.jpeg
modelVersions.hash: UGGl,xxa02X5~TkB9uR*ATW-=}of5iWnxboL
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/69e9cb53-337d-4722-ba1a-b6be9d0fc205/width=450/2377119.jpeg
modelVersions.hash: U7H_=Bxu00xu?bjtIUfQ00ay~qj[8{a|?bj[
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a7cf5d3f-ed8e-4a84-bb6b-cbcebd369141/width=450/2377133.jpeg
modelVersions.hash: U6J%:F9$0C~71Ss,]}9g05^v%e4@=D%IOY=?
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ec6141ca-d1f3-4366-bee7-d05bb2f5fec3/width=450/2376698.jpeg
modelVersions.hash: UCH-_Fog0GxoS7RoxWxn0Gob~JRp?9%EIuD@
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/32fe419a-a297-4a00-9252-d2af6b67af7e/width=450/2377164.jpeg
modelVersions.name: v2.0
modelVersions.publishedAt: 2023-09-06T09:20:56.476Z
name: emoji-xl
tags: emoji icons style icon