Text-to-Image
Diffusers
TensorBoard
lora
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Run this model with HF Jobs
Run codeiceman/beaf-model 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/beaf-model. 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/beaf-model 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/beaf-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codeiceman/beaf-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("codeiceman/beaf-model") prompt = "a photo of steak or beaf" 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/1722590772.656915/events.out.tfevents.1722590772.6fec217efaa8.465280.1Added+3
- logs/dreambooth-lora/1722590772.6583/hparams.ymlAdded+56
- logs/dreambooth-lora/events.out.tfevents.1722590772.6fec217efaa8.465280.0Added+3
- pytorch_lora_weights.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---base_model: runwayml/stable-diffusion-v1-5library_name: diffuserslicense: creativeml-openrail-mtags:- text-to-image- diffusers- lora- diffusers-training- stable-diffusion- stable-diffusion-diffusersinference: trueinstance_prompt: a photo of steak or beaf---
<!-- 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/beaf-model
These are LoRA adaption weights for runwayml/stable-diffusion-v1-5. The weights were trained on a photo of steak or beaf 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:518f8fd2cca52414a2b813af8cdae087da804d76387315870fb3802a526e30b6size 25821234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556adam_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: beafinstance_prompt: a photo of steak or beaflearning_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: beaf-modelpre_compute_text_embeddings: falsepretrained_model_name_or_path: runwayml/stable-diffusion-v1-5prior_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: a photo of steakvariant: nullwith_prior_preservation: false123version https://git-lfs.github.com/spec/v1oid sha256:82fb08bd59a15438a877df5bd0f90d56e8933864ff15bb0449eaa38d2db80c63size 3949205123version https://git-lfs.github.com/spec/v1oid sha256:719a7a3811917812bae08b9c452171f545cc3cd3a16fee69ebf7eb287481ba55size 3226184README.mdAdded+47
image_0.pngAdded

image_1.pngAdded

image_2.pngAdded

image_3.pngAdded

logs/dreambooth-lora/1722590772.656915/events.out.tfevents.1722590772.6fec217efaa8.465280.1Added+3
logs/dreambooth-lora/1722590772.6583/hparams.ymlAdded+56
logs/dreambooth-lora/events.out.tfevents.1722590772.6fec217efaa8.465280.0Added+3
pytorch_lora_weights.safetensorsAdded+3