Text-to-Image
Diffusers
TensorBoard
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Run this model with HF Jobs
Run ruby2022/corgy_dog_LoRA 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/ruby2022/corgy_dog_LoRA. 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/ruby2022/corgy_dog_LoRA 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 ruby2022/corgy_dog_LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ruby2022/corgy_dog_LoRA 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-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ruby2022/corgy_dog_LoRA") prompt = "a photo of TOK dog" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (5)
- README.mdAdded+62
- logs/dreambooth-lora-sd-xl/1763867087.6971095/events.out.tfevents.1763867087.30d24a9438b0.3522.1Added+3
- logs/dreambooth-lora-sd-xl/1763867087.6987262/hparams.ymlAdded+72
- logs/dreambooth-lora-sd-xl/events.out.tfevents.1763867087.30d24a9438b0.3522.0Added+3
- pytorch_lora_weights.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---base_model: stabilityai/stable-diffusion-xl-base-1.0library_name: diffuserslicense: openrail++instance_prompt: a photo of TOK dogwidget: []tags:- text-to-image- text-to-image- diffusers-training- diffusers- lora- template:sd-lora- stable-diffusion-xl- stable-diffusion-xl-diffusers---
<!-- 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. -->
# SDXL LoRA DreamBooth - ruby2022/corgy_dog_LoRA
<Gallery />
## Model description
These are ruby2022/corgy_dog_LoRA LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
The weights were trained using [DreamBooth](https://dreambooth.github.io/).
LoRA for the text encoder was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
## Trigger words
You should use a photo of TOK dog to trigger the image generation.
## Download model
Weights for this model are available in Safetensors format.
[Download](ruby2022/corgy_dog_LoRA/tree/main) them in the Files & versions tab.
## 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:0d8247e871e296983706b8b3bcda8d3475e1d7d04c2439a299551f8bdc4c1f75size 3409123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1.0e-08adam_weight_decay: 0.0001adam_weight_decay_text_encoder: 0.001allow_tf32: falsecache_dir: nullcaption_column: promptcenter_crop: falsecheckpointing_steps: 717checkpoints_total_limit: nullclass_data_dir: nullclass_prompt: nulldataloader_num_workers: 0dataset_config_name: nulldataset_name: dogdo_edm_style_training: falseenable_xformers_memory_efficient_attention: falsegradient_accumulation_steps: 3gradient_checkpointing: truehub_model_id: nullhub_token: nullimage_column: imageimage_interpolation_mode: lanczosinstance_data_dir: nullinstance_prompt: a photo of TOK doglearning_rate: 0.0001local_rank: -1logging_dir: logslora_dropout: 0.0lr_num_cycles: 1lr_power: 1.0lr_scheduler: constantlr_warmup_steps: 0max_grad_norm: 1.0max_train_steps: 500mixed_precision: fp16num_class_images: 100num_train_epochs: 250num_validation_images: 4optimizer: AdamWoutput_dir: corgy_dog_LoRAoutput_kohya_format: falsepretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0pretrained_vae_model_name_or_path: madebyollin/sdxl-vae-fp16-fixprior_generation_precision: nullprior_loss_weight: 1.0prodigy_beta3: nullprodigy_decouple: trueprodigy_safeguard_warmup: trueprodigy_use_bias_correction: truepush_to_hub: falserandom_flip: falserank: 4repeats: 1report_to: tensorboardresolution: 1024resume_from_checkpoint: nullrevision: nullsample_batch_size: 4scale_lr: falseseed: 0snr_gamma: 5.0text_encoder_lr: 5.0e-06train_batch_size: 1train_text_encoder: falseuse_8bit_adam: trueuse_dora: falsevalidation_epochs: 50validation_prompt: nullvariant: nullwith_prior_preservation: false123version https://git-lfs.github.com/spec/v1oid sha256:d80fdaa134139247860dda36dea6df78357ce312375513761919b3cd3ae3c266size 104442123version https://git-lfs.github.com/spec/v1oid sha256:6c735cc0ce5860168128e21290891987d63ca9d59a45ced10347aacd4c3058c0size 23390424README.mdAdded+62
logs/dreambooth-lora-sd-xl/1763867087.6971095/events.out.tfevents.1763867087.30d24a9438b0.3522.1Added+3
logs/dreambooth-lora-sd-xl/1763867087.6987262/hparams.ymlAdded+72
logs/dreambooth-lora-sd-xl/events.out.tfevents.1763867087.30d24a9438b0.3522.0Added+3
pytorch_lora_weights.safetensorsAdded+3