Text-to-Image
Diffusers
TensorBoard
lora
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Run this model with HF Jobs
Run codeiceman/bread-model2 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/codeiceman/bread-model2. 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/codeiceman/bread-model2 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 codeiceman/bread-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codeiceman/bread-model2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("codeiceman/bread-model2") prompt = "I want to eat delicious breads" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (10)
- .gitattributes+3
- README.mdAdded+47
- image_0.pngAdded
- image_1.pngAdded
- image_2.pngAdded
- image_3.pngAdded
- logs/dreambooth-lora/1725240680.4931145/events.out.tfevents.1725240680.6fec217efaa8.2595854.1Added+3
- logs/dreambooth-lora/1725240680.49442/hparams.ymlAdded+56
- logs/dreambooth-lora/events.out.tfevents.1725240680.6fec217efaa8.2595854.0Added+3
- pytorch_lora_weights.safetensorsAdded+3
32 unmodified lines33343536373832 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textimage_0.png filter=lfs diff=lfs merge=lfs -textimage_1.png filter=lfs diff=lfs merge=lfs -textimage_2.png filter=lfs diff=lfs merge=lfs -text1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---base_model: stabilityai/stable-diffusion-2library_name: diffuserslicense: creativeml-openrail-mtags:- text-to-image- diffusers- lora- diffusers-training- stable-diffusion- stable-diffusion-diffusersinference: trueinstance_prompt: I want to eat delicious breads---
<!-- 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. -->
# LoRA DreamBooth - codeiceman/bread-model2
These are LoRA adaption weights for stabilityai/stable-diffusion-2. The weights were trained on I want to eat delicious breads using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.

LoRA for the text encoder was enabled: False.
## 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]123version https://git-lfs.github.com/spec/v1oid sha256:cf79f94b530269b4f7b291b1ced1067b835f8cd927add36775829fc387240c3asize 26111234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1.0e-08adam_weight_decay: 0.01allow_tf32: falsecenter_crop: falsecheckpointing_steps: 100checkpoints_total_limit: nullclass_data_dir: nullclass_labels_conditioning: nullclass_prompt: nulldataloader_num_workers: 0enable_xformers_memory_efficient_attention: falsegradient_accumulation_steps: 1gradient_checkpointing: falsehub_model_id: nullhub_token: nullinstance_data_dir: breadinstance_prompt: I want to eat delicious breadslearning_rate: 0.0001local_rank: -1logging_dir: logslr_num_cycles: 1lr_power: 1.0lr_scheduler: constantlr_warmup_steps: 0max_grad_norm: 1.0max_train_steps: 10mixed_precision: nullnum_class_images: 100num_train_epochs: 1num_validation_images: 4output_dir: bread-model2pre_compute_text_embeddings: falsepretrained_model_name_or_path: stabilityai/stable-diffusion-2prior_generation_precision: nullprior_loss_weight: 1.0push_to_hub: truerank: 4report_to: tensorboardresolution: 512resume_from_checkpoint: nullrevision: nullsample_batch_size: 4scale_lr: falseseed: 0text_encoder_use_attention_mask: falsetokenizer_max_length: nulltokenizer_name: nulltrain_batch_size: 1train_text_encoder: falseuse_8bit_adam: falsevalidation_epochs: 50validation_prompt: I want to have some delicious breadsvariant: nullwith_prior_preservation: false123version https://git-lfs.github.com/spec/v1oid sha256:a02e21e573d5fed8ffaf73409298cd19f2af3a7100cf402af21b92347c4e6d4dsize 8379083123version https://git-lfs.github.com/spec/v1oid sha256:b915e5db9d8e3e6a6867cb0152ee87d74e5748f387a7d05ebbcdf60bd10a500asize 3357296.gitattributes+3
README.mdAdded+47
image_0.pngAdded

Large File Pointer Details
- SHA256: 4c2992d1bce31afdd4006f1cdff4dcdc06f8f3bb8ef503ced0c3f5623ab853a2
- Pointer size: 132 Bytes
- Size of remote file: 1.14 MB
image_1.pngAdded

Large File Pointer Details
- SHA256: 2144b37ef5686354df2cd67a6616c897560ee9d32209867ff589e0c68b363eda
- Pointer size: 132 Bytes
- Size of remote file: 1.01 MB
image_2.pngAdded

Large File Pointer Details
- SHA256: 95fb81492a81df342f52539ad3184b2e7e2454ab5525adbf03ee95f7aaccc523
- Pointer size: 132 Bytes
- Size of remote file: 1.05 MB
image_3.pngAdded

logs/dreambooth-lora/1725240680.4931145/events.out.tfevents.1725240680.6fec217efaa8.2595854.1Added+3
logs/dreambooth-lora/1725240680.49442/hparams.ymlAdded+56
logs/dreambooth-lora/events.out.tfevents.1725240680.6fec217efaa8.2595854.0Added+3
pytorch_lora_weights.safetensorsAdded+3