Run this model with HF Jobs
Run noema-art/lainflux-klein 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/noema-art/lainflux-klein. 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/noema-art/lainflux-klein 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 noema-art/lainflux-klein with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use noema-art/lainflux-klein with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("noema-art/lainflux-klein") prompt = "lain, This is a digitally rendered image featuring a small, anime-style girl, referred to as \"lain\", lying on a compute…" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("noema-art/lainflux-klein")
prompt = "lain, This is a digitally rendered image featuring a small, anime-style girl, referred to as \"lain\", lying on a compute…"
image = pipe(prompt).images[0]lainflux-klein
NOEMA · part of the
kleinfamily — character & style LoRAs on FLUX.2 klein (4B).
Run it privately at noema.art — no email, pay anonymously.
FLUX.2 [klein] 4B conversion of ms2stationthis/lainflux (originally FLUX.1-dev). Trigger: "lain".
Trigger word: lain
Retrained onto FLUX.2 [klein] 4B from ms2stationthis/lainflux (FLUX.1-dev).
Sample Outputs
Usage (Diffusers)
import torch
from diffusers import Flux2Pipeline
pipe = Flux2Pipeline.from_pretrained(
"black-forest-labs/FLUX.2-klein-4B", torch_dtype=torch.bfloat16
).to("cuda")
pipe.load_lora_weights("ms2stationthis/lainflux-klein")
image = pipe("lain, a character portrait", guidance_scale=4.0, num_inference_steps=25).images[0]
image.save("out.png")
Recommended Settings
| LoRA strength | Guidance | Steps | Resolution |
|---|---|---|---|
| 0.8–1.0 | 4.0 | 25 | 1024×1024 |
Training Details
- Base: black-forest-labs/FLUX.2-klein-base-4B
- Steps: 4000 · Network: LoRA rank 32 / alpha 32
- Optimizer: adamw8bit, lr 1e-4 · Scheduler: flowmatch
- Resolution: 512, 768, 1024 (multi-res bucketed) · Precision: bf16 train / fp16 save
Reproduction
This repo includes the full dataset/ (20 image-caption pairs) and the exact config.yaml so the LoRA can be retrained as-is.
About
NOEMA is a privacy-by-construction generative studio. Run this model — and 80+ others — privately at noema.art: no email to start, pay anonymously, go fully private anytime.
NOEMA · a complete studio, completely private · noema.art
- Downloads last month
- 7
Model tree for noema-art/lainflux-klein
Base model
black-forest-labs/FLUX.2-klein-base-4B



