Instructions to use funseshon/mike-ots with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use funseshon/mike-ots 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("funseshon/mike-ots") prompt = "A majestic snow leopard leaping across a jagged Himalayan cliffside during a swirling blizzard, captured in hyper-realistic detail. MIKE_OTS" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475---base_model:- krea/Krea-2-Turbo- krea/Krea-2-Rawlibrary_name: diffuserslicense: apache-2.0instance_prompt: MIKE_OTSwidget: []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 - funseshon/mike-ots<Gallery />## Model descriptionThese are funseshon/mike-ots 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 `MIKE_OTS` to trigger the image generation.## Download model[Download the *.safetensors LoRA](funseshon/mike-ots/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("funseshon/mike-ots")>>> # Turbo recipe: 8 steps, no classifier-free guidance>>> image = pipe("MIKE_OTS", 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: "MIKE_OTS"widget:- text: "A majestic snow leopard leaping across a jagged Himalayan cliffside during a swirling blizzard, captured in hyper-realistic detail. MIKE_OTS"output:url: sample_0.png- text: "A sleek, futuristic chrome motorcycle speeding down a neon-drenched Tokyo highway at midnight with vibrant light trails. MIKE_OTS"output:url: sample_1.png- text: "An elderly clockmaker meticulously repairing a golden pocket watch inside a dusty, sun-drenched Victorian workshop. MIKE_OTS"output:url: sample_2.png---# Krea 2 LoRA — funseshon/mike-ots<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 phrase `MIKE_OTS` to invoke the concept.## Samples> *"A majestic snow leopard leaping across a jagged Himalayan cliffside during a swirling blizzard, captured in hyper-realistic detail. MIKE_OTS"*> *"A sleek, futuristic chrome motorcycle speeding down a neon-drenched Tokyo highway at midnight with vibrant light trails. MIKE_OTS"*> *"An elderly clockmaker meticulously repairing a golden pocket watch inside a dusty, sun-drenched Victorian workshop. MIKE_OTS"*## 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("funseshon/mike-ots")image = pipe("A majestic snow leopard leaping across a jagged Himalayan cliffside during a swirling blizzard, captured in hyper-realistic detail. MIKE_OTS", num_inference_steps=8, guidance_scale=0.0).images[0]image.save("output.png")```
README.md+32-50