description: <h3 id="heading-2">Anime Sketch Style!</h3><p>I made a more flexible and powerful PonyXL version over here: <a target="_blank" rel="ugc" href="https://civitai.com/models/362745/modelVersionId=418302">https://civitai.com/models/362745/modelVersionId=418302</a></p><hr /><p>I intentionally used some "sketchy" art so that this Lora generates not professional tier art but rather something a bit more rough.</p><p>Check out all the Art styles I’ve made: <a target="_blank" rel="ugc" href="https://civitai.com/user/CitronLegacy/models?tag=style">https://civitai.com/user/CitronLegacy/models?tag=style</a></p><hr /><p>Update 12/10/2023 - Added SDXL version.</p><p>SDXL doesn't work the exact same way as SD1.5 version so please review my example images for the prompts.</p><p>Also generation data is not being populated correctly so I manually edited the generation data for many of the posts -- if something looks wrong thats why lol</p><p>Training data is in the "About this version" menu in the side bar.</p><hr /><p></p><p><strong><u>SD1.5 Version</u></strong></p><p>This is a little unstable but it produces nice results with the right prompts. Please refer to my examples to see how to use it.</p><p>I intended to use the 10 Epochs version but Google Colab crashed after 75 minutes. I figured I'd test out the 5 Epoch version while I waited another 120 minutes for the 10 Epochs. I want to refine this to make it more sketchy and more like lineart.</p><hr /><p><strong><u>Training Data</u></strong></p><p>Trained on: 218 images</p><p>Training Model: SD-v1-5-pruned-noema-fp16</p><p>flip_aug: True</p><p>Num of Repeats: 10</p><p>Unit is Epochs or Steps: Epochs</p><p>Number of Epochs or Steps: 10</p><p>Training Batch Size: 2</p><p>Network Dim: Dim 64 and Alpha 32</p><p>Lora Creation Process took: about 75 minutes</p>
modelVersions.availability: Public
modelVersions.baseModel: SDXL 1.0
modelVersions.description: <p>[sdxl_arguments]</p><p>cache_text_encoder_outputs = false</p><p>no_half_vae = true</p><p>min_timestep = 0</p><p>max_timestep = 1000</p><p>shuffle_caption = true</p><p>lowram = true</p><p>[model_arguments]</p><p>pretrained_model_name_or_path = "stabilityai/stable-diffusion-xl-base-1.0"</p><p>vae = "/content/vae/sdxl_vae.safetensors"</p><p>[dataset_arguments]</p><p>debug_dataset = false</p><p>in_json = "/content/LoRA/meta_lat.json"</p><p>train_data_dir = "/content/drive/MyDrive/lora_training/datasets/Anime_Sketch_SDXL"</p><p>dataset_repeats = 2</p><p>keep_tokens = 1</p><p>resolution = "1024,1024"</p><p>color_aug = false</p><p>token_warmup_min = 1</p><p>token_warmup_step = 0</p><p>[training_arguments]</p><p>output_dir = "/content/drive/MyDrive/kohya-trainer/output/Anime_Sketch_SDXL"</p><p>output_name = "Anime_Sketch_SDXL"</p><p>save_precision = "fp16"</p><p>save_every_n_epochs = 1</p><p>train_batch_size = 4</p><p>max_token_length = 225</p><p>mem_eff_attn = false</p><p>sdpa = true</p><p>xformers = false</p><p>max_train_epochs = 10</p><p>max_data_loader_n_workers = 8</p><p>persistent_data_loader_workers = true</p><p>gradient_checkpointing = true</p><p>gradient_accumulation_steps = 1</p><p>mixed_precision = "fp16"</p><p>[logging_arguments]</p><p>log_with = "tensorboard"</p><p>logging_dir = "/content/LoRA/logs"</p><p>log_prefix = "Anime_Sketch_SDXL"</p><p>[sample_prompt_arguments]</p><p>sample_sampler = "euler_a"</p><p>[saving_arguments]</p><p>save_model_as = "safetensors"</p><p>[optimizer_arguments]</p><p>optimizer_type = "AdaFactor"</p><p>learning_rate = 0.0001</p><p>max_grad_norm = 0</p><p>optimizer_args = [ "scale_parameter=False", "relative_step=False", "warmup_init=False",]</p><p>lr_scheduler = "constant_with_warmup"</p><p>lr_warmup_steps = 100</p><p>[additional_network_arguments]</p><p>no_metadata = false</p><p>network_module = "networks.lora"</p><p>network_dim = 32</p><p>network_alpha = 16</p><p>network_args = []</p><p>network_train_unet_only = true</p>
modelVersions.downloadUrl: https://civitai.com/api/download/models/258108
modelVersions.downloaded: true
modelVersions.downloadUrl: https://civitai.com/api/download/models/258108
modelVersions.AutoV1: 627F24C1
modelVersions.AutoV2: 3E96580405
modelVersions.AutoV3: C9C258363CEB
modelVersions.BLAKE3: E9551DBBA637D54C060B07A5491470F3B5F52169612426115B6AD8AC764D2492
modelVersions.CRC32: 13C06BAF
modelVersions.SHA256: 3E96580405E162AE438F103A20F6CD488AA6EE6C567BE29D4308AF996F7BE17E
modelVersions.format: SafeTensor
modelVersions.name: Anime_Sketch_SDXL.safetensors
modelVersions.pickleScanMessage: No Pickle imports
modelVersions.pickleScanResult: Success
modelVersions.scannedAt: 2023-12-10T18:10:55.432Z
modelVersions.type: Model
modelVersions.virusScanResult: Success
modelVersions.hash: UOI}q$~q^+xu^+xuxuWBIURjWCt6%Mj[Rjof
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/97015d3c-2519-49a9-a4ef-362f381dd58a/width=450/4389301.jpeg
modelVersions.hash: UGKUG?4oayt7~pM|%MWB%MWBM|ayWAj[ayay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/84e0af75-4dd7-498f-a0e2-0bc883db3660/width=450/4389299.jpeg
modelVersions.hash: USJRHo-;?axa~pxtxtWVxaofs:j[xtofWBj[
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4ccf15c7-ef7c-49b3-b7dc-c57e2a5b27b2/width=450/4389300.jpeg
modelVersions.hash: U9IE^a~qWB%Mxu%MWB%M4nRj-;%Mxut7-;Rj
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7997667b-892c-4a05-abb2-383241bba7cc/width=450/4389294.jpeg
modelVersions.hash: UKIY2$t8~q%Mt7Rkj]ofM_ofaxof%Mt8t8s:
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3e4b63c3-60d3-455e-9585-c31301f8898b/width=450/4384421.jpeg
modelVersions.hash: UKH_*{%M~qt7%Mfkt7ozE1bHtRofsoaeWBRj
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d2b24e0b-733b-406c-8448-625e8ea1c63a/width=450/4384387.jpeg
modelVersions.hash: UFKUAv~pR%ja~VM{xut7xtoet7M{%MRjM{ay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bf146a1c-ed8a-494d-b9eb-bcd5b27633b0/width=450/4389296.jpeg
modelVersions.hash: UKJRU3?bt7xu~qt7WBM{xuM{ofof-;ofRj%M
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6f2267de-a4e7-4ae0-8676-185c56ce0efb/width=450/4382684.jpeg
modelVersions.hash: UCK1tD9Foe%M~qaeIUR*_2D%ofofWBxuWBxu
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ac459678-9cd9-4d22-aaca-75748f9ce82d/width=450/4382790.jpeg
modelVersions.hash: UFKUNBRj%Mof_3ayRjRk?boLWCof~qfQxut7
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a1f89e58-b94a-4cb8-b67f-cb7fcfa96d23/width=450/4382788.jpeg
modelVersions.hash: UEJkl#?c_3?I~qxut7WB?bM{WBj[xut7%Mj[
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9b28232b-91e3-4850-a3be-7b3dbba34cd3/width=450/4382792.jpeg
modelVersions.hash: UDKK$k-;?a%2~qogD%IUayoft7of_3ofof%M
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f3639c39-75ef-4dc8-9132-9f68e1aba8ba/width=450/4382791.jpeg
modelVersions.hash: UBJkJ*%2_2a}~pf6M{afH?of%Mxa_2ayxat7
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b69d8f07-8508-475d-a03f-12671e981277/width=450/4389297.jpeg
modelVersions.hash: UDIY2+t7of?b%MxuRjxvayRj%Mxu~qRjofof
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/87559816-327b-4de9-a7d6-e991f2054eab/width=450/4389295.jpeg
modelVersions.hash: U6J[6T~qRi?b?b%M?aoeV=RjofRjt6Rjt7xt
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5b548d53-3239-4143-808d-0be80594e63c/width=450/4388149.jpeg
modelVersions.hash: U8KKvU%M$*%L~qxu-;M{#,xuofofn%M{IAof
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/471ed4f5-79f5-49d3-b205-80437f5d85ea/width=450/4388148.jpeg
modelVersions.hash: UGLE7,?bxaoe~qt7%MofR5RjWYt7-:oeM{j[
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/184fba0a-e4db-4370-ae9a-5d9ca4e6cad8/width=450/4388147.jpeg
modelVersions.hash: UQLNunax%2t7~pM{s:xa%2ayofof-;WVM{of
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b4f4b25e-88c2-4c07-9bb4-c27dc49d07d0/width=450/4388145.jpeg
modelVersions.hash: UOLXJM%MjZxa~pt6xuof-:oft7ofofj[RjWB
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/44a5c71d-d934-4b14-9110-9d150e09990d/width=450/4388142.jpeg
modelVersions.hash: UDK-d;^,%2%M~pM|%MM{E0t6xuay%LWUD%ay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/023facc9-1dbc-4b70-a12b-04a91c3c782a/width=450/4388146.jpeg
modelVersions.name: SDXL
modelVersions.publishedAt: 2023-12-10T23:19:28.832Z
modelVersions.trainedWords:  (Pencil_Sketch:1.2, messy lines, greyscale, traditional media, sketch), unfinished, hatching (texture)
modelVersions.availability: Public
modelVersions.baseModel: SD 1.5
modelVersions.downloadUrl: https://civitai.com/api/download/models/228293
modelVersions.downloadUrl: https://civitai.com/api/download/models/228293
modelVersions.AutoV1: 7A2C2AFD
modelVersions.AutoV2: CC706DEF91
modelVersions.AutoV3: ABCD7B4AA5B0
modelVersions.BLAKE3: B920054E6AA75C2658D241EF3F37CD54D42C7FB24E2A9393B2DB3DE0B0B1F46C
modelVersions.CRC32: 13516516
modelVersions.SHA256: CC706DEF919D72EE24259A3CF3E0355B956B7644F7B455B98769069EC07BEFD8
modelVersions.format: SafeTensor
modelVersions.name: Pencil_Sketch_Dim64_SD-05.safetensors
modelVersions.pickleScanMessage: No Pickle imports
modelVersions.pickleScanResult: Success
modelVersions.scannedAt: 2023-11-17T02:16:22.498Z
modelVersions.type: Model
modelVersions.virusScanResult: Success
modelVersions.hash: UbJ7{=D%s.t8~qM{t7of-VofWVWBt6j[ofWB
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9a5eff69-38a7-440a-8777-c7bd78433e6b/width=450/3683182.jpeg
modelVersions.hash: UcKdh}-:?G%L~pj]WBWC%1WARjj@s.R*WBay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9ba00f5e-1222-4ecb-be74-10f1614ee57f/width=450/3682395.jpeg
modelVersions.hash: UrKUK2%Mxtt7~qofayof%2ofjufQofWBayWB
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2a92bac5-5855-4753-b61b-bf694a842e8d/width=450/3682375.jpeg
modelVersions.hash: UWI#S@WB%2j?~pRj-;ay=|s:ofoLxuayRjfk
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2b2fcd71-ff84-443d-be3e-94f1ec1170ae/width=450/3682393.jpeg
modelVersions.hash: UIH-*}4:^+s:~qxas:kC^kM{oKjZ$%WBt7ae
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/53128e54-b953-46bb-be4c-6bef6e5b8e11/width=450/3682392.jpeg
modelVersions.hash: UVJt*f%M%2xt~qRjt7oe^*f6j[ofxuayt7of
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9ed1decf-b846-4b53-8044-f3a814dc18d8/width=450/3682391.jpeg
modelVersions.hash: UdL;HZ-:%Mt7~pWBt7WB%Lj[WBayt7j[ayof
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0dc951c3-1b53-499f-8bbd-1e52f1d9f48d/width=450/3682394.jpeg
modelVersions.hash: UpKUD,%Lxaxt~qj]ofoL-pWBWBWBt7WCayj[
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0343afee-9d13-4758-bc33-d531d482060d/width=450/3682400.jpeg
modelVersions.hash: UeJkQ2IooLoL~pRjayayxZofayof%Mofofof
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0cd5584e-f03d-4fbe-879d-30318180dad1/width=450/3682399.jpeg
modelVersions.hash: UjI;^tay%LjZ~pjZayWB-pfkRjRjxuofofoL
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ede04ec6-a245-4334-8371-bf693e4d4e41/width=450/3682397.jpeg
modelVersions.hash: UkJ834V[%2ju~pV[j[j[-oj[WBj[xtkBj[a|
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8791e96a-2c51-4683-8f58-b57da742ae2b/width=450/3682396.jpeg
modelVersions.hash: UTKA]39F-VWB-o%MofoL~CRkRjofxaayofay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5ca43b60-f3e2-4cb7-8df4-1b030157ec31/width=450/3682398.jpeg
modelVersions.hash: UYKKi]_3%Lxu~ptRjZofwcjYR*j@-pWBWBWV
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f4aab79f-bf60-4225-9c8b-bd16226075fb/width=450/3682402.jpeg
modelVersions.hash: UpJ@|7Rjxuof~pofofjtxuaxWBjtxujtWBay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4ae31d3c-20a1-4af6-857d-01d07e373024/width=450/3682401.jpeg
modelVersions.hash: UaJt}0WBxtWB~qRjt7WBxaaxRjof%LaeRjj[
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3bc00baa-5117-469a-890c-9a2a12a2851c/width=450/3682404.jpeg
modelVersions.hash: UZJt}1ay%LWB~qRixtofxaoLaef6-pf6Rjj@
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/853d534b-5a80-4d9f-b905-5a862469a3bb/width=450/3682403.jpeg
modelVersions.hash: UUJ8CW~p?b%L~pxuWBWBt7RkRjWBt6WBofay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0e5cd3be-8b95-43fb-964a-3d72678c0935/width=450/3682407.jpeg
modelVersions.hash: UmJHp[t7t7xa~qayt6of%2ayayoft7j[j[ay
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6f08cec2-21fd-419b-a237-169330fd3b63/width=450/3682406.jpeg
modelVersions.hash: USJ*YXIU-oxu~qM{xtWB?HofRjt7xuj]ayWB
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/eb340be5-fecc-4567-88fb-9fc5c9802f2d/width=450/3682408.jpeg
modelVersions.hash: ULI#iZ_2~V-:_29Ft6Io={MyWXWBt6NGM{of
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/272f7f41-1ca3-41d1-8af0-7ab10403e994/width=450/3682409.jpeg
modelVersions.name: SD1.5_v1
modelVersions.publishedAt: 2023-11-17T03:06:18.143Z
modelVersions.trainedWords: (Pencil_Sketch:1.2, messy lines, greyscale, traditional media, sketch), unfinished, hatching (texture),
name: Anime Sketch (Style) SDXL & SD1.5
tags: anime style art style sketch traditional media styles sdxl lora sdxl style lora sdxl anime sdxl style