Instructions to use miittnnss/xoakkeyy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use miittnnss/xoakkeyy with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("miittnnss/xoakkeyy", 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
Download config.json from miittnnss/xoakkeyy: direct link, hf CLI and curl.
- Browser
- Download file 904 Bytes
-
https://huggingface.co/miittnnss/xoakkeyy/resolve/main/config.json
- Command line
-
hf download hf://miittnnss/xoakkeyy/config.json
-
curl -L -o config.json https://huggingface.co/miittnnss/xoakkeyy/resolve/main/config.json
904 Bytes
| { | |
| "model_name": "xoakkeyy-gan", | |
| "model_type": "dcgan", | |
| "generator": { | |
| "input_shape": [100], | |
| "hidden_layers": [ | |
| {"units": 256, "activation": "relu"}, | |
| {"units": 512, "activation": "relu"}, | |
| {"units": 1024, "activation": "relu"} | |
| ], | |
| "output_shape": [64, 64, 3], | |
| "output_activation": "tanh" | |
| }, | |
| "discriminator": { | |
| "input_shape": [64, 64, 3], | |
| "hidden_layers": [ | |
| {"units": 512, "activation": "relu"}, | |
| {"units": 256, "activation": "relu"} | |
| ], | |
| "output_shape": [1], | |
| "output_activation": "sigmoid" | |
| }, | |
| "optimizer": { | |
| "generator": { | |
| "type": "Adam", | |
| "learning_rate": 0.0002, | |
| "beta_1": 0.5 | |
| }, | |
| "discriminator": { | |
| "type": "Adam", | |
| "learning_rate": 0.0002, | |
| "beta_1": 0.5 | |
| } | |
| }, | |
| "loss_functions": { | |
| "generator": "binary_crossentropy", | |
| "discriminator": "binary_crossentropy" | |
| } | |
| } | |