Text-to-Image
Diffusers
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
English
Instructions to use ShibaDeveloper/olivia-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShibaDeveloper/olivia-v1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ShibaDeveloper/olivia-v1.0", dtype=torch.bfloat16, device_map="cuda") prompt = "1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, by dan mumford, yusuke murata, makoto shinkai, ross tran" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
e1fbb87
1
Parent(s): 6c244a0
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",
|