Instructions to use Kilgori/correct-yes-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kilgori/correct-yes-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("Kilgori/correct-yes-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
Update variant.json
Browse files- variant.json +6 -2
variant.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
| 1 |
{
|
| 2 |
"model_configuration": {
|
|
|
|
|
|
|
| 3 |
"num_layers": 6,
|
| 4 |
"hidden_size": 512,
|
| 5 |
"num_heads": 8,
|
| 6 |
-
"ffn_size": 2048
|
|
|
|
|
|
|
| 7 |
},
|
| 8 |
...
|
| 9 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"model_configuration": {
|
| 3 |
+
"parent_model": "stable_diffusion_1.4",
|
| 4 |
+
"variant_name": "correct-yes-model",
|
| 5 |
"num_layers": 6,
|
| 6 |
"hidden_size": 512,
|
| 7 |
"num_heads": 8,
|
| 8 |
+
"ffn_size": 2048,
|
| 9 |
+
"max_sequence_length": 512,
|
| 10 |
+
"additional_train_data": ["correct_yes_dataset"]
|
| 11 |
},
|
| 12 |
...
|
| 13 |
+
}
|