Run this model with HF Jobs
Run toto10/DB 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/toto10/DB. 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/toto10/DB 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 toto10/DB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use toto10/DB with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("toto10/DB", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
f5bb14519361cd5d0b1ae3b7fd7b07d04117730ac93c4ae34e6c0b84207685cc
Browse filesFiles changed (7)
- models/core/convert/stable-diffusion-safety-checker/model.safetensorsAdded+3
- models/core/convert/stable-diffusion-safety-checker/preprocessor_config.jsonAdded+28
- models/core/upscaling/realesrgan/ESRGAN_SRx4_DF2KOST_official-ff704c30.pthAdded+3
- models/core/upscaling/realesrgan/RealESRGAN_x2plus.pthAdded+3
- models/core/upscaling/realesrgan/RealESRGAN_x4plus.pthAdded+3
- models/core/upscaling/realesrgan/RealESRGAN_x4plus_anime_6B.pthAdded+3
- models/sd-1/controlnet/canny/config.jsonAdded+42
123version https://git-lfs.github.com/spec/v1oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8size 121597966412345678910111213141516171819202122232425262728{ "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "feature_extractor_type": "CLIPFeatureExtractor", "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_processor_type": "CLIPFeatureExtractor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:ff704c30ff560305e48ed1f4db895e525ab6bc81a46fafe80c0094a271c806d9size 66922040123version https://git-lfs.github.com/spec/v1oid sha256:49fafd45f8fd7aa8d31ab2a22d14d91b536c34494a5cfe31eb5d89c2fa266abbsize 67061725123version https://git-lfs.github.com/spec/v1oid sha256:4fa0d38905f75ac06eb49a7951b426670021be3018265fd191d2125df9d682f1size 67040989123version https://git-lfs.github.com/spec/v1oid sha256:f872d837d3c90ed2e05227bed711af5671a6fd1c9f7d7e91c911a61f155e99dasize 17938799123456789101112131415161718192021222324252627282930313233343536373839404142{ "_class_name": "ControlNetModel", "_diffusers_version": "0.16.0.dev0", "_name_or_path": "/home/patrick/controlnet_v1_1/control_v11p_sd15_canny", "act_fn": "silu", "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "class_embed_type": null, "conditioning_embedding_out_channels": [ 16, 32, 96, 256 ], "controlnet_conditioning_channel_order": "rgb", "cross_attention_dim": 768, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": null, "resnet_time_scale_shift": "default", "upcast_attention": false, "use_linear_projection": false}models/core/convert/stable-diffusion-safety-checker/model.safetensorsAdded+3
models/core/convert/stable-diffusion-safety-checker/preprocessor_config.jsonAdded+28
models/core/upscaling/realesrgan/ESRGAN_SRx4_DF2KOST_official-ff704c30.pthAdded+3
models/core/upscaling/realesrgan/RealESRGAN_x2plus.pthAdded+3
models/core/upscaling/realesrgan/RealESRGAN_x4plus.pthAdded+3
models/core/upscaling/realesrgan/RealESRGAN_x4plus_anime_6B.pthAdded+3
models/sd-1/controlnet/canny/config.jsonAdded+42