Text-to-Image
Diffusers
TensorBoard
lora
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Run this model with HF Jobs
Run codeiceman/egg-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/egg-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/egg-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/egg-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codeiceman/egg-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/egg-model2") prompt = "I want to eat meals made of eggs" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (9)
- README.mdAdded+47
- image_0.pngAdded
- image_1.pngAdded
- image_2.pngAdded
- image_3.pngAdded
- logs/dreambooth-lora/1725239558.2498913/events.out.tfevents.1725239558.6fec217efaa8.2577597.1Added+3
- logs/dreambooth-lora/1725239558.2511582/hparams.ymlAdded+56
- logs/dreambooth-lora/events.out.tfevents.1725239558.6fec217efaa8.2577597.0Added+3
- pytorch_lora_weights.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---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 meals made of eggs---
<!-- 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/egg-model2
These are LoRA adaption weights for stabilityai/stable-diffusion-2. The weights were trained on I want to eat meals made of eggs 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:15fcfc35f038b85e2c64d1a6dd1d7e7c4d3917c698341a7def3f7df9ff654f26size 26071234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556adam_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: egginstance_prompt: I want to eat meals made of eggslearning_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: egg-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 meals with eggvariant: nullwith_prior_preservation: false123version https://git-lfs.github.com/spec/v1oid sha256:3c4af6e9e3c0e5b44abbe182fd7c58d1fe0bd56753485976ae1c0c19b276540fsize 7443752123version https://git-lfs.github.com/spec/v1oid sha256:a8666c666db6253a6baaba36180596610e48a9ef9f0dae3bdad83b1fdad2716esize 3357296README.mdAdded+47
image_0.pngAdded

image_1.pngAdded

image_2.pngAdded

image_3.pngAdded

logs/dreambooth-lora/1725239558.2498913/events.out.tfevents.1725239558.6fec217efaa8.2577597.1Added+3
logs/dreambooth-lora/1725239558.2511582/hparams.ymlAdded+56
logs/dreambooth-lora/events.out.tfevents.1725239558.6fec217efaa8.2577597.0Added+3
pytorch_lora_weights.safetensorsAdded+3