Run this model with HF Jobs
Run comp4471-2026S-G21/controlnet-final 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/comp4471-2026S-G21/controlnet-final. 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/comp4471-2026S-G21/controlnet-final 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 comp4471-2026S-G21/controlnet-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use comp4471-2026S-G21/controlnet-final with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("comp4471-2026S-G21/controlnet-final", 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
Upload folder using huggingface_hub
Browse filesFiles changed (6)
- controlnet/config.jsonAdded+57
- controlnet/diffusion_pytorch_model.safetensorsAdded+3
- optimizer.binAdded+3
- random_states_0.pklAdded+3
- scaler.ptAdded+3
- scheduler.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "_class_name": "ControlNetModel", "_diffusers_version": "0.37.1", "act_fn": "silu", "addition_embed_type": "text_time", "addition_embed_type_num_heads": 64, "addition_time_embed_dim": 256, "attention_head_dim": [ 5, 10, 20 ], "block_out_channels": [ 320, 640, 1280 ], "class_embed_type": null, "conditioning_channels": 3, "conditioning_embedding_out_channels": [ 16, 32, 96, 256 ], "controlnet_conditioning_channel_order": "rgb", "cross_attention_dim": 2048, "down_block_types": [ "DownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D" ], "downsample_padding": 1, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "global_pool_conditions": false, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "projection_class_embeddings_input_dim": 2816, "resnet_time_scale_shift": "default", "transformer_layers_per_block": [ 1, 2, 10 ], "upcast_attention": null, "use_linear_projection": true}123version https://git-lfs.github.com/spec/v1oid sha256:8213aedb1df1fa0f1beef47c195013b158e9e1e1a5257c1da1f405163a2c1d7esize 5004167864123version https://git-lfs.github.com/spec/v1oid sha256:8d8d6e7a29a63c44edf350c0b12e82596888654722013f865f74a9d71b1b2ae8size 2544599711123version https://git-lfs.github.com/spec/v1oid sha256:f73760c92f4708fe9d5bb96957bb1f7bac3c445e7fbfc7c6adf4dd28beae4331size 14757123version https://git-lfs.github.com/spec/v1oid sha256:a06077ebf8d2e031bbd8cab833c1db281e147daefdcd0432668a2839d85e2da7size 1383123version https://git-lfs.github.com/spec/v1oid sha256:0bdd8017bd098348f2fa3d27ea6b98dd35aa2c57f1336d7cf177669410cebbc7size 1401controlnet/config.jsonAdded+57
controlnet/diffusion_pytorch_model.safetensorsAdded+3
optimizer.binAdded+3
random_states_0.pklAdded+3
scaler.ptAdded+3
scheduler.binAdded+3