Instructions to use LottePeisch/2dn-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LottePeisch/2dn-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("LottePeisch/2dn-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
- Draw Things
- DiffusionBee
Commit ·
4e655a4
1
Parent(s): e34004f
Update tokenizer/tokenizer_config.json
Browse files
tokenizer/tokenizer_config.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
| 19 |
},
|
| 20 |
"errors": "replace",
|
| 21 |
"model_max_length": 77,
|
| 22 |
-
"name_or_path": "
|
| 23 |
"pad_token": "<|endoftext|>",
|
| 24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
| 25 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
|
| 19 |
},
|
| 20 |
"errors": "replace",
|
| 21 |
"model_max_length": 77,
|
| 22 |
+
"name_or_path": "openai/clip-vit-large-patch14",
|
| 23 |
"pad_token": "<|endoftext|>",
|
| 24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
| 25 |
"tokenizer_class": "CLIPTokenizer",
|