Run this model with HF Jobs
Run shalpin87/diffusion_cifar 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/shalpin87/diffusion_cifar. 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/shalpin87/diffusion_cifar 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 shalpin87/diffusion_cifar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use shalpin87/diffusion_cifar with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("shalpin87/diffusion_cifar", 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
Sean Halpin commited on
Commit ·
e9ca7d0
1
Parent(s): 753f0b3
Epoch 0
Browse filesFiles changed (5)
- .gitignoreAdded+1
- model_index.jsonAdded+12
- scheduler/scheduler_config.jsonAdded+11
- unet/config.jsonAdded+42
- unet/diffusion_pytorch_model.binAdded+3
1checkpoint-*/123456789101112{ "_class_name": "DDPMPipeline", "_diffusers_version": "0.1.3", "scheduler": [ "diffusers", "DDPMScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}1234567891011{ "_class_name": "DDPMScheduler", "_diffusers_version": "0.1.3", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "num_train_timesteps": 1000, "trained_betas": null, "variance_type": "fixed_small"}123456789101112131415161718192021222324252627282930313233343536373839404142{ "_class_name": "UNet2DModel", "_diffusers_version": "0.1.3", "act_fn": "silu", "attention_head_dim": 8, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "out_channels": 3, "sample_size": 32, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:556075c84630d6d79b1c36e31a43800a7788f5cb654d0bda62c8a0fd75e6f0desize 454859389.gitignoreAdded+1
model_index.jsonAdded+12
scheduler/scheduler_config.jsonAdded+11
unet/config.jsonAdded+42
unet/diffusion_pytorch_model.binAdded+3