Instructions to use SimpleTuner/moss-image-base-domokun-1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SimpleTuner/moss-image-base-domokun-1024 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("SimpleTuner/moss-image-base-domokun-1024") 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
Download dataloader.json from SimpleTuner/moss-image-base-domokun-1024: direct link, hf CLI and curl.
- Browser
- Download file 504 Bytes
-
https://huggingface.co/SimpleTuner/moss-image-base-domokun-1024/resolve/main/dataloader.json
- Command line
-
hf download hf://SimpleTuner/moss-image-base-domokun-1024/dataloader.json
-
curl -L -o dataloader.json https://huggingface.co/SimpleTuner/moss-image-base-domokun-1024/resolve/main/dataloader.json
504 Bytes
| [ | |
| { | |
| "id": "domokun", | |
| "type": "local", | |
| "dataset_type": "image", | |
| "instance_data_dir": "datasets/domokun", | |
| "caption_strategy": "textfile", | |
| "resolution": 1.048576, | |
| "resolution_type": "area", | |
| "crop": false, | |
| "minimum_image_size": 0, | |
| "repeats": 10, | |
| "cache_dir_vae": "cache/base-1024/vae", | |
| "text_embeds": "text" | |
| }, | |
| { | |
| "id": "text", | |
| "type": "local", | |
| "dataset_type": "text_embeds", | |
| "default": true, | |
| "cache_dir": "cache/base-1024/text" | |
| } | |
| ] | |