CivArchive
    Preview 34891387
    Preview 34891406
    Preview 34891418
    Preview 34891427
    Preview 34891420
    Preview 34891430
    Preview 34891422
    Preview 34891426
    Preview 34891431
    Preview 34891443
    Preview 34891445
    Preview 34891470

    Model Introduction

    This image generation model, based on Laxhar/noobai-XL_v1.0, leverages full Danbooru and e621 datasets with native tags and natural language captioning.

    Implemented as a v-prediction model (distinct from eps-prediction), it requires specific parameter configurations - detailed in following sections.

    Special thanks to my teammate euge for the coding work, and we're grateful for the technical support from many helpful community members.

    ⚠️ IMPORTANT NOTICE ⚠️

    THIS MODEL WORKS DIFFERENT FROM EPS MODELS!

    PLEASE READ THE GUIDE CAREFULLY!

    Model Details


    How to Use the Model.

    Guidebook for NoobAI XL:

    ENG:

    https://civarchive.com/articles/8962

    CHS:

    https://fcnk27d6mpa5.feishu.cn/wiki/S8Z4wy7fSiePNRksiBXcyrUenOh

    https://fcnk27d6mpa5.feishu.cn/wiki/IBVGwvVGViazLYkMgVEcvbklnge

    Method I: reForge

    1. (If you haven't installed reForge) Install reForge by following the instructions in the repository;

    2. Launch WebUI and use the model as usual!

    Method II: ComfyUI

    SAMLPLE with NODES

    comfy_ui_workflow_sample

    Method III: WebUI

    Note that dev branch is not stable and may contain bugs.

    1. (If you haven't installed WebUI) Install WebUI by following the instructions in the repository. For simp

    2.Switch to dev branch:

    git switch dev
    

    3. Pull latest updates:

    git pull
    

    4. Launch WebUI and use the model as usual!

    Method IV: Diffusers

    import torch
    from diffusers import StableDiffusionXLPipeline
    from diffusers import EulerDiscreteScheduler
    
    ckpt_path = "/path/to/model.safetensors"
    pipe = StableDiffusionXLPipeline.from_single_file(
        ckpt_path,
        use_safetensors=True,
        torch_dtype=torch.float16,
    )
    scheduler_args = {"prediction_type": "v_prediction", "rescale_betas_zero_snr": True}
    pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, **scheduler_args)
    pipe.enable_xformers_memory_efficient_attention()
    pipe = pipe.to("cuda")
    
    prompt = """masterpiece, best quality,artist:john_kafka,artist:nixeu,artist:quasarcake, chromatic aberration, film grain, horror \(theme\), limited palette, x-shaped pupils, high contrast, color contrast, cold colors, arlecchino \(genshin impact\), black theme,  gritty, graphite \(medium\)"""
    negative_prompt = "nsfw, worst quality, old, early, low quality, lowres, signature, username, logo, bad hands, mutated hands, mammal, anthro, furry, ambiguous form, feral, semi-anthro"
    
    image = pipe(
        prompt=prompt,
        negative_prompt=negative_prompt,
        width=832,
        height=1216,
        num_inference_steps=28,
        guidance_scale=5,
        generator=torch.Generator().manual_seed(42),
    ).images[0]
    
    image.save("output.png")
    

    Note: Please make sure Git is installed and environment is properly configured on your machine.


    Recommended Settings

    Parameters

    • CFG: 4 ~ 5

    • Steps: 28 ~ 35

    • Sampling Method: Euler (⚠️ Other samplers will not work properly)

    • Resolution: Total area around 1024x1024. Best to choose from: 768x1344, 832x1216, 896x1152, 1024x1024, 1152x896, 1216x832, 1344x768

    Prompts

    • Prompt Prefix:

    masterpiece, best quality, newest, absurdres, highres, safe,
    
    • Negative Prompt:

    nsfw, worst quality, old, early, low quality, lowres, signature, username, logo, bad hands, mutated hands, mammal, anthro, furry, ambiguous form, feral, semi-anthro
    

    Usage Guidelines

    Caption

    <1girl/1boy/1other/...>, <character>, <series>, <artists>, <special tags>, <general tags>, <other tags>
    

    Quality Tags

    For quality tags, we evaluated image popularity through the following process:

    • Data normalization based on various sources and ratings.

    • Application of time-based decay coefficients according to date recency.

    • Ranking of images within the entire dataset based on this processing.

    Our ultimate goal is to ensure that quality tags effectively track user preferences in recent years.

    Percentile RangeQuality Tags> 95thmasterpiece> 85th, <= 95thbest quality> 60th, <= 85thgood quality> 30th, <= 60thnormal quality<= 30thworst quality

    Aesthetic Tags

    TagDescriptionvery awaTop 5% of images in terms of aesthetic score by waifu-scorerworst aestheticAll the bottom 5% of images in terms of aesthetic score by waifu-scorer and aesthetic-shadow-v2......

    Date Tags

    There are two types of date tags: year tags and period tags. For year tags, use year xxxx format, i.e., year 2021. For period tags, please refer to the following table:

    Year RangePeriod tag2005-2010old2011-2014early2014-2017mid2018-2020recent2021-2024newest

    Dataset

    • The latest Danbooru images up to the training date (approximately before 2024-10-23)

    • E621 images e621-2024-webp-4Mpixel dataset on Hugging Face

    Communication

    How to train a LoRA on v-pred SDXL model

    A tutorial is intended for LoRA trainers based on sd-scripts.

    article link: https://civarchive.com/articles/8723

    Utility Tool

    Laxhar Lab is training a dedicated ControlNet model for NoobXL, and the models are being released progressively. So far, the normal, depth, and canny have been released.

    Model link: https://civarchive.com/models/929685

    Model License

    This model's license inherits from https://huggingface.co/OnomaAIResearch/Illustrious-xl-early-release-v0 fair-ai-public-license-1.0-sd and adds the following terms. Any use of this model and its variants is bound by this license.

    I. Usage Restrictions

    • Prohibited use for harmful, malicious, or illegal activities, including but not limited to harassment, threats, and spreading misinformation.

    • Prohibited generation of unethical or offensive content.

    • Prohibited violation of laws and regulations in the user's jurisdiction.

    II. Commercial Prohibition

    We prohibit any form of commercialization, including but not limited to monetization or commercial use of the model, derivative models, or model-generated products.

    III. Open Source Community

    To foster a thriving open-source community,users MUST comply with the following requirements:

    • Open source derivative models, merged models, LoRAs, and products based on the above models.

    • Share work details such as synthesis formulas, prompts, and workflows.

    • Follow the fair-ai-public-license to ensure derivative works remain open source.

    IV. Disclaimer

    Generated models may produce unexpected or harmful outputs. Users must assume all risks and potential consequences of usage.

    Participants and Contributors

    Participants

    Contributors

    Description

    • NoobAI XL (V-pred branch)

    • NoobAI XL (V预测分支)

    This model page is the V-pred branch of NoobAI XL, trained with the EA version followed by the 8 epoch version, which cannot be used in AUTOMATIC1111 WebUI. Please use it via diffusers or reForge.

    This test was mainly conducted by @Euge_, thanks to his hard work as a member of Laxhar Lab.

    该模型页面为 NoobAI XL 的 V 预测分支,使用Early Access Ver加训8ep的版本训练而成,无法在 AUTOMATIC1111 WebUI 中使用。 请通过 diffusers 或 reForge 使用。本测试由@尤吉主要进行,感谢尤吉作为Laxhar Lab成员的辛勤付出ミ(・・)ミ

    • Usage: reForge

    1. Install and launch reForge, and choose branch;

       git checkout dev_upstream_experimental

    2. Find “Advanced Model Sampling for Forge” at the bottom of the page;

    3. Enable “Enable Advanced Model Sampling”;

    4. Select “v_prediction” in “Discrete Sampling Type”.

    • 用法:reForge

    1. 安装并启动 reForge,并使用命令切换分支;

       git checkout dev_upstream_experimental

    2. 在页面下方找到 “Advanced Model Sampling for Forge”;

    3. 启用 “Enable Advanced Model Sampling”;

    4. 在 “Discrete Sampling Type” 中选择 “v_prediction”。

    • Usage: Diffusers

    • 用法:Diffusers

    import torch

    from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler

    ckpt_path = "/path/to/model.safetensors"

    pipe = StableDiffusionXLPipeline.from_single_file(

    ckpt_path,

    use_safetensors=True,

    torch_dtype=torch.float16,

    )

    pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)

    pipe.scheduler.register_to_config(

    prediction_type="v_prediction",

    rescale_betas_zero_snr=True,

    )

    pipe.enable_xformers_memory_efficient_attention()

    pipe = pipe.to("cuda")

    prompt = "best quality, 1boy, solo"

    negative_prompt = "bad hands, worst quality, low quality, bad quality, multiple views, 4koma, comic, jpeg artifacts, monochrome, sepia, greyscale, flat color, pale color, muted color, low contrast, bad anatomy, picture frame, english text, signature, watermark, logo, patreon username, web address, artist name"

    image = pipe(

    prompt=prompt,

    negative_prompt=negative_prompt,

    width=832,

    height=1216,

    num_inference_steps=28,

    guidance_scale=7.0,

    generator=torch.Generator().manual_seed(42),

    ).images[0]

    image.save('image.png')

    FAQ

    Comments (13)

    Velox24Oct 16, 2024
    CivitAI

    uhh any plans about site generations?

    GiangiottoOct 16, 2024
    CivitAI

    I can't find "Advanced Model Sampling for Forge" anywhere on ReForge.

    EDIT: Also, your Discord link is invalid.

    YpkatOct 16, 2024
    CivitAI

    I wonder if you were also trained on tags used on e621? For example, things like anthro, feral, species:mammal, and so on.

    bionagatoOct 16, 2024
    CivitAI

    You said this is the Hugging Face version (4 epochs more than the public version). Will you upload the normal version too, without V-Prediction, for comparing results? Thanks.

    salamanderrrOct 16, 2024· 2 reactions
    CivitAI

    Not a better released version.The color is too dizzy.

    darionkOct 16, 2024· 2 reactions
    CivitAI

    For some reason I get purple Blob in the V-pred-test Ver in Forge and not in the Early Access Version. Is there any specific thing that must be used or enable to use this version of the model?
    I wanted to test to see if it's better than the Early Access Version or not.

    Edit: I just saw it can only work on ReForge, oh well, I will see if I can reinstall it

    a517841006765Oct 16, 2024· 7 reactions
    CivitAI

    如果你出图不顺利,可以看看我发布的图片里面的comfy-ui工作流
    你需要添加v_prediction


    If you're having trouble drawing, check out the comfy-ui workflow in the image I posted You need to add v prediction

    sss116Oct 16, 2024· 3 reactions
    CivitAI

    Based on my experience, when using Reforge, ZERO SNR should also be selected.


    When I ask the model to generate in a specific art style, its ability to replicate is strong.


    But the common Lora training scripts cannot be used to train Lora for this model.😢

    BolFondlaOct 16, 2024· 2 reactions
    CivitAI

    This model looks very promising! Looking forward to the finished vpred model! :3

    KewtieOct 17, 2024
    CivitAI

    colors are insanely good on the vpred version, definitely seems to be the way to go

    EBIXOct 17, 2024
    CivitAI

    hoping for noobai to go for vpred approach , colors are so good.

    poefgwjorhOct 17, 2024· 10 reactions
    CivitAI

    Finally some local nai3 tier banger dropped

    latent_space_dreamsOct 18, 2024· 2 reactions
    CivitAI

    Love the full dynamic range in this version thanks to ztSNR!
    I hope this version is further developed as this being a test version is a bit underbaked, and losing the beautiful colours would be a loss for the community.