Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
art
hyper-realistic
sketch-to-image
Instructions to use ShiroOnigami23/super-hyper-drawing-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShiroOnigami23/super-hyper-drawing-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("ShiroOnigami23/super-hyper-drawing-model", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download safety_checker/config.json from ShiroOnigami23/super-hyper-drawing-model: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/ShiroOnigami23/super-hyper-drawing-model/resolve/main/safety_checker/config.json
- Command line
-
hf download hf://ShiroOnigami23/super-hyper-drawing-model/safety_checker/config.json
-
curl -L -o config.json https://huggingface.co/ShiroOnigami23/super-hyper-drawing-model/resolve/main/safety_checker/config.json
1.17 kB
| { | |
| "architectures": [ | |
| "StableDiffusionSafetyChecker" | |
| ], | |
| "dtype": "float16", | |
| "initializer_factor": 1.0, | |
| "logit_scale_init_value": 2.6592, | |
| "model_type": "clip", | |
| "projection_dim": 768, | |
| "text_config": { | |
| "attention_dropout": 0.0, | |
| "dropout": 0.0, | |
| "dtype": "float16", | |
| "hidden_act": "quick_gelu", | |
| "hidden_size": 768, | |
| "initializer_factor": 1.0, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-05, | |
| "max_position_embeddings": 77, | |
| "model_type": "clip_text_model", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "projection_dim": 512, | |
| "vocab_size": 49408 | |
| }, | |
| "transformers_version": "4.57.3", | |
| "vision_config": { | |
| "attention_dropout": 0.0, | |
| "dropout": 0.0, | |
| "dtype": "float16", | |
| "hidden_act": "quick_gelu", | |
| "hidden_size": 1024, | |
| "image_size": 224, | |
| "initializer_factor": 1.0, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "layer_norm_eps": 1e-05, | |
| "model_type": "clip_vision_model", | |
| "num_attention_heads": 16, | |
| "num_channels": 3, | |
| "num_hidden_layers": 24, | |
| "patch_size": 14, | |
| "projection_dim": 512 | |
| } | |
| } | |