Run this model with HF Jobs
Run jatmak/stein754 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/jatmak/stein754. 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/jatmak/stein754 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 jatmak/stein754 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jatmak/stein754 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("jatmak/stein754") prompt = "A cinematic wide shot of a vzx woman wearing iridescent futuristic armor, standing amidst the neon-lit rain of a cyberpunk Tokyo street." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273---base_model: krea/Krea-2-Rawlibrary_name: diffuserslicense: apache-2.0instance_prompt: vzx womanwidget: []tags:- text-to-image- diffusers-training- diffusers- lora- krea2- krea2-diffusers- template:sd-lora---<!-- This model card has been generated automatically according to the information the training script had access to. Youshould probably proofread and complete it, then remove this comment. --># Krea 2 DreamBooth LoRA - jatmak/stein754<Gallery />## Model descriptionThese are jatmak/stein754 DreamBooth LoRA weights, trained on krea/Krea-2-Raw.The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Krea 2 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_krea2.md).Krea 2 ships as two checkpoints: **RAW** (the non-distilled base you fine-tune on) and **Turbo** (an 8-step distilled checkpoint for fast, high-quality inference). Train your LoRA on RAW and run it on Turbo — LoRAs trained on RAW express strongly on Turbo.## Trigger wordsYou should use `vzx woman` to trigger the image generation.## Download model[Download the *.safetensors LoRA](jatmak/stein754/tree/main) in the Files & versions tab.## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)```py>>> import torch>>> from diffusers import Krea2Pipeline>>> # Load the LoRA onto Krea 2 Turbo (the distilled inference model)>>> pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")>>> pipe.load_lora_weights("jatmak/stein754")>>> # Turbo recipe: 8 steps, no classifier-free guidance>>> image = pipe("vzx woman", num_inference_steps=8, guidance_scale=0.0).images[0]>>> image.save("output.png")```For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)## Intended uses & limitations#### How to use```python# TODO: add an example code snippet for running this diffusion pipeline```#### Limitations and bias[TODO: provide examples of latent issues and potential remediations]## Training details[TODO: describe the data used to train the model]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657---base_model: krea/Krea-2-Rawtags:- text-to-image- diffusers- lora- krea2- template:sd-loralicense: apache-2.0instance_prompt: "vzx woman"widget:- text: "A cinematic wide shot of a vzx woman wearing iridescent futuristic armor, standing amidst the neon-lit rain of a cyberpunk Tokyo street."output:url: sample_0.png- text: "A serene oil painting of a vzx woman in a flowing linen dress, reading an ancient leather book in a sun-drenched Tuscan library."output:url: sample_1.png- text: "A high-detail macro photograph of a vzx woman as an ethereal forest spirit, her skin shimmering with gold leaf and surrounded by bioluminescent mushrooms."output:url: sample_2.png---# Krea 2 LoRA — jatmak/stein754<Gallery />A DreamBooth-LoRA for **Krea 2**, trained on **Krea 2 RAW** and shown on **Krea 2 Turbo**. The samples below were generated with this LoRA on Turbo (8 steps).## TriggerUse the token `vzx woman` to invoke the concept.## Samples> *"A cinematic wide shot of a vzx woman wearing iridescent futuristic armor, standing amidst the neon-lit rain of a cyberpunk Tokyo street."*> *"A serene oil painting of a vzx woman in a flowing linen dress, reading an ancient leather book in a sun-drenched Tuscan library."*> *"A high-detail macro photograph of a vzx woman as an ethereal forest spirit, her skin shimmering with gold leaf and surrounded by bioluminescent mushrooms."*## Use it with diffusers```pyimport torchfrom diffusers import Krea2Pipelinepipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")pipe.load_lora_weights("jatmak/stein754")image = pipe("A cinematic wide shot of a vzx woman wearing iridescent futuristic armor, standing amidst the neon-lit rain of a cyberpunk Tokyo street.", num_inference_steps=8, guidance_scale=0.0).images[0]image.save("output.png")```
README.md+31-47