Run this model with HF Jobs
Run CabalResearch/Mugen on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/CabalResearch/Mugen. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/CabalResearch/Mugen on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use CabalResearch/Mugen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CabalResearch/Mugen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CabalResearch/Mugen", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files2 unmodified lines34567892 unmodified lines121314151617181920212223242526271 unmodified line293031323334355 unmodified lines414243444546474849505152533 unmodified lines57585960616263646566676822 unmodified lines91929394959697989910010110217 unmodified lines1201211221231241251261271281291301311321331341351362 unmodified lineslicense_name: fair-ai-public-license-1.0-sdlicense_link: https://freedevproject.org/faipl-1.0-sd/base_model:- CabalResearch/NoobAI-Flux2VAE-RectifiedFlowlibrary_name: diffusers---2 unmodified lines## Model DescriptionMugen is a continuation of the [NoobAI Flux2 v0.3](https://huggingface.co/CabalResearch/NoobAI-Flux2VAE-RectifiedFlow-0.3), renamed to signify a substantial divergence from the original NoobAI models.It has been trained for 7 additional epochs.- **Developed by:** Cabal Research (Bluvoll, Anzhc)- **Funded by:** Community- **License:** [fair-ai-public-license-1.0-sd](https://freedevproject.org/faipl-1.0-sd/)- **Finetuned from model:** [NoobAI Flux2 VAE experiment](https://huggingface.co/CabalResearch/NoobAI-Flux2VAE-RectifiedFlow)## Bias and Limitations1 unmodified lineFlux 2 VAE seem to have brown bias overall, which can be alleviated by adding `sepia` or `brown theme` to negative.## Model Output Examples5 unmodified lines#### Comfy(Workflow is available alongside model in repo)We will provide a Node, and hope it will be adapted natively in main repo eventually:**https://github.com/Anzhc/SDXL-Flux2VAE-ComfyUI-Node**Seems like you don't need to use the node itself, patch is applied without it.Apparently works in [SwarmUI](https://github.com/mcmonkeyprojects/SwarmUI) as is.3 unmodified linesRecommended Parameters:**Sampler**: Euler A, Euler, DPM++ SDE, etc.**Steps**: 20-28**CFG**: 4-6**Shift**: 8-12**Schedule**: Normal/Simple/SGM Uniform**Positive Quality Tags**: `masterpiece, best quality`**Negative Tags**: `worst quality, normal quality, bad anatomy, sepia`#### A1111 WebUI22 unmodified linesRecommended Parameters:**Sampler**: Euler A Comfy RF, Euler A2, Euler, DPM++ SDE Comfy, etc. **ALL VARIANTS MUST BE RF OR COMFY, IF AVAILABLE. In ComfyUI routing is automatic, but not in the case of WebUI.****Steps**: 20-28**CFG**: 4-6(or 7-15, if it appears to be weak/bugged)**Shift**: 8-12**Schedule**: Normal/Simple/SGM Uniform**Positive Quality Tags**: `masterpiece, best quality`**Negative Tags**: `worst quality, normal quality, bad anatomy, sepia`**ADETAILER FIX FOR RF**:By default, Adetailer discards Advanced Model Sampling extension, which breaks RF. You need to add AMS to this part of settings:17 unmodified linesOr use my fork of Adetailer - https://github.com/Anzhc/aadetailer-reforge## TrainingVAE: [Flux2 VAE](https://huggingface.co/black-forest-labs/FLUX.2-dev/tree/main/vae)**VAE Shift**: 0.0760**VAE Scale**: 0.6043### LoRA TrainingHow about we just give config### Hardware2 unmodified lines34567892 unmodified lines121314151617181920212223242526272829303132333435363738394041424344451 unmodified line4748495051525 unmodified lines58596061626364656667686970713 unmodified lines75767778798081828384858687888922 unmodified lines11211311411511611711811912012112212312412512617 unmodified lines1441451461471481491501511521532 unmodified lineslicense_name: fair-ai-public-license-1.0-sdlicense_link: https://freedevproject.org/faipl-1.0-sd/base_model:- CabalResearch/NoobAI-Flux2VAE-RectifiedFlow-0.3library_name: diffusers---2 unmodified lines## Model DescriptionMugen is a continuation of our SDXL to Flux 2 VAE conversion, renamed to signify a substantial divergence from the original NoobAI models.It has been trained for 7 additional epochs, totalling under **8000$** for a full latent space conversion, while preserving and improving upon model anime knowledge.In particular, we have paid attention to character performance in this iteration, and developed in-house approach for benchmarking their performance, about which you can read below.Overall, model performs particularly well with textures and patterns that were previously simply impossible due to SDXL VAE. We prioritized keeping our training as standard-friendly as possible, so local community can easily train on it like on a new Base Model, which it practically is.- **Developed by:** Cabal Research (Bluvoll, Anzhc)- **Funded by:** Community- **License:** [fair-ai-public-license-1.0-sd](https://freedevproject.org/faipl-1.0-sd/)- **Resumed from:** [NoobAI Flux2 VAE v0.3](https://huggingface.co/CabalResearch/NoobAI-Flux2VAE-RectifiedFlow)### Character Knowledge BenchmarkThis benchmark measures character similarity across 1815 characters in this iteration of it.We utilize reference(non-generated) set of images, and measure character features against ai-generated data - this is the similarity score. Our custom in-house model for character discrimination trained on ~1.2kk images is used.Due to compute constraint, we selected only single model to compare against - not yet released latest version of [Chenkin](https://huggingface.co/ChenkinNoob/ChenkinNoob-XL-V0.3-BETA) model, which is the most trained SDXL-based anime model currently.Fuure benchmark iterations might include different arches and more models.## Bias and Limitations1 unmodified lineFlux 2 VAE seem to have brown bias overall, which can be alleviated by adding `sepia` or `brown theme` to negative.## Model Output Examples5 unmodified lines#### Comfy(Workflow is available alongside model in repo)We will provide a Node, and hope it will be adapted natively in main repo eventually:**https://github.com/Anzhc/SDXL-Flux2VAE-ComfyUI-Node**Just install it, and it will patch the model config, no mode changes required.Apparently works in [SwarmUI](https://github.com/mcmonkeyprojects/SwarmUI) as is.3 unmodified linesRecommended Parameters:**Sampler**: Euler A, Euler, DPM++ SDE, etc.**Steps**: 20-28**CFG**: 4-7**Shift**: 8-12**Schedule**: Normal/Simple/SGM Uniform**Positive Quality Tags**: `masterpiece, best quality`**Negative Tags**: `worst quality, normal quality, bad anatomy, sepia`**Alternative Extended Negative**: `(worst quality:1.1), normal quality, (bad anatomy:1.1), (blurry:1.1), watermark, sepia, (adversarial noise:1.1), jpeg artifacts`(Some of our testers pointed out that they prefer longer negative)#### A1111 WebUI22 unmodified linesRecommended Parameters:**Sampler**: Euler A Comfy RF, Euler A2, Euler, DPM++ SDE Comfy, etc. **ALL VARIANTS MUST BE RF OR COMFY, IF AVAILABLE. In ComfyUI routing is automatic, but not in the case of WebUI.****Steps**: 20-28**CFG**: 4-7(or 7-15, if it appears to be weak/bugged)**Shift**: 8-12**Schedule**: Normal/Simple/SGM Uniform**Positive Quality Tags**: `masterpiece, best quality`**Negative Tags**: `worst quality, normal quality, bad anatomy, sepia`**Alternative Extended Negative**: `(worst quality:1.1), normal quality, (bad anatomy:1.1), (blurry:1.1), watermark, sepia, (adversarial noise:1.1), jpeg artifacts`(Some of our testers pointed out that they prefer longer negative)**ADETAILER FIX FOR RF**:By default, Adetailer discards Advanced Model Sampling extension, which breaks RF. You need to add AMS to this part of settings:17 unmodified linesOr use my fork of Adetailer - https://github.com/Anzhc/aadetailer-reforge### LoRA TrainingYou can directly reference config with all parameters: Download### Hardware
README.md+35-18