Instructions to use deepgenteam/DeepGen-1.0-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use deepgenteam/DeepGen-1.0-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("deepgenteam/DeepGen-1.0-diffusers", 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
File size: 504 Bytes
85c2ed2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"IMG_START_TOKEN": "<|vision_start|>",
"IMG_END_TOKEN": "<|vision_end|>",
"IMG_CONTEXT_TOKEN": "<|image_pad|>",
"IMG_START_TOKEN_FOR_GENERATION": false,
"SYSTEM": "<|im_start|>system\n{system}<|im_end|>\n",
"INSTRUCTION": "<|im_start|>user\n{input}<|im_end|>\n<|im_start|>assistant\n",
"SUFFIX": "<|im_end|>",
"SUFFIX_AS_EOS": true,
"SEP": "\n",
"STOP_WORDS": [
"<|im_end|>",
"<|endoftext|>"
],
"GENERATION": "Generate an image: {input}",
"CFG": "Generate an image."
} |