Instructions to use JosephusCheung/ACertainThing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JosephusCheung/ACertainThing with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("JosephusCheung/ACertainThing", dtype=torch.bfloat16, device_map="cuda") prompt = "masterpiece, best quality, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Commit ·
f29dbc8
1
Parent(s): 34b7ea6
Update text_encoder/config.json
Browse files- text_encoder/config.json +1 -1
text_encoder/config.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
"model_type": "clip_text_model",
|
| 18 |
"num_attention_heads": 12,
|
| 19 |
-
"num_hidden_layers":
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
"torch_dtype": "float32",
|
|
|
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
"model_type": "clip_text_model",
|
| 18 |
"num_attention_heads": 12,
|
| 19 |
+
"num_hidden_layers": 11,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
"torch_dtype": "float32",
|