Run this model with HF Jobs
Run wid4soe/ip2p-simpsons 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/wid4soe/ip2p-simpsons. 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/wid4soe/ip2p-simpsons 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 wid4soe/ip2p-simpsons with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wid4soe/ip2p-simpsons with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wid4soe/ip2p-simpsons", 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
Download safety_checker/config.json from wid4soe/ip2p-simpsons: direct link, hf CLI and curl.
- Browser
- Download file 783 Bytes
-
https://huggingface.co/wid4soe/ip2p-simpsons/resolve/main/safety_checker/config.json
- Command line
-
hf download hf://wid4soe/ip2p-simpsons/safety_checker/config.json
-
curl -L -o config.json https://huggingface.co/wid4soe/ip2p-simpsons/resolve/main/safety_checker/config.json
783 Bytes
| { | |
| "_name_or_path": "/root/.cache/huggingface/hub/models--timbrooks--instruct-pix2pix/snapshots/31519b5cb02a7fd89b906d88731cd4d6a7bbf88d/safety_checker", | |
| "architectures": [ | |
| "StableDiffusionSafetyChecker" | |
| ], | |
| "initializer_factor": 1.0, | |
| "logit_scale_init_value": 2.6592, | |
| "model_type": "clip", | |
| "projection_dim": 768, | |
| "text_config": { | |
| "dropout": 0.0, | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "model_type": "clip_text_model", | |
| "num_attention_heads": 12 | |
| }, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.35.2", | |
| "vision_config": { | |
| "dropout": 0.0, | |
| "hidden_size": 1024, | |
| "intermediate_size": 4096, | |
| "model_type": "clip_vision_model", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "patch_size": 14 | |
| } | |
| } | |