Text-to-Image
Diffusers
TensorBoard
lora
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Run this model with HF Jobs
Run codeiceman/salad-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/salad-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/salad-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/salad-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codeiceman/salad-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/salad-model2") prompt = "I want to eat salad" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (10)
- .gitattributes+1
- README.mdAdded+47
- image_0.pngAdded
- image_1.pngAdded
- image_2.pngAdded
- image_3.pngAdded
- logs/dreambooth-lora/1725239874.3045843/events.out.tfevents.1725239874.6fec217efaa8.2582828.1Added+3
- logs/dreambooth-lora/1725239874.305879/hparams.ymlAdded+56
- logs/dreambooth-lora/events.out.tfevents.1725239874.6fec217efaa8.2582828.0Added+3
- pytorch_lora_weights.safetensorsAdded+3
32 unmodified lines3334353632 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 -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 salad---
<!-- 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/salad-model2
These are LoRA adaption weights for stabilityai/stable-diffusion-2. The weights were trained on I want to eat salad 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:27d3f3c02df209a6e3f9d7217194e413163afc10c7d6e89eb35af78e2c01431csize 25891234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556adam_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: saladinstance_prompt: I want to eat saladlearning_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: salad-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 saladvariant: nullwith_prior_preservation: false123version https://git-lfs.github.com/spec/v1oid sha256:bd248fb137c77879a1ac0d2ded3a48863c174f5de517bedd7aaeaf3859322598size 8119391123version https://git-lfs.github.com/spec/v1oid sha256:31429f6820025068b1f01bce174c05822d584ad61cf6bb9b404950ecd1a7b782size 3357296.gitattributes+1
README.mdAdded+47
image_0.pngAdded

Large File Pointer Details
- SHA256: 50102c98a88579eacdf4d3b27a77b29753967d105540042739b13f9dad21812e
- Pointer size: 132 Bytes
- Size of remote file: 1.02 MB
image_1.pngAdded

image_2.pngAdded

image_3.pngAdded

logs/dreambooth-lora/1725239874.3045843/events.out.tfevents.1725239874.6fec217efaa8.2582828.1Added+3
logs/dreambooth-lora/1725239874.305879/hparams.ymlAdded+56
logs/dreambooth-lora/events.out.tfevents.1725239874.6fec217efaa8.2582828.0Added+3
pytorch_lora_weights.safetensorsAdded+3