Instructions to use ACCC1380/nyako_style with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ACCC1380/nyako_style with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("circlestone-labs/Anima", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ACCC1380/nyako_style") 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
Download config/train-sd-scripts.toml from ACCC1380/nyako_style: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/ACCC1380/nyako_style/resolve/main/config/train-sd-scripts.toml
- Command line
-
hf download hf://ACCC1380/nyako_style/config/train-sd-scripts.toml
-
curl -L -o train-sd-scripts.toml https://huggingface.co/ACCC1380/nyako_style/resolve/main/config/train-sd-scripts.toml
1.32 kB
| pretrained_model_name_or_path = "/marimo/Stable-diffusion/anima-base-v1.0.safetensors" | |
| qwen3 = "/marimo/sd-webui-forge-neo/models/text_encoder/qwen_3_06b_base.safetensors" | |
| vae = "/marimo/sd-webui-forge-neo/models/VAE/qwen_image_vae.safetensors" | |
| dataset_config = "/data/nyako-training-150/artifacts/config/dataset.toml" | |
| output_dir = "/data/nyako-training-150/artifacts/output" | |
| output_name = "nyako_style" | |
| network_module = "networks.lora_anima" | |
| network_dim = 16 | |
| network_alpha = 16 | |
| network_train_unet_only = true | |
| optimizer_type = "AdamW" | |
| learning_rate = 0.0001 | |
| lr_scheduler = "constant" | |
| max_train_epochs = 150 | |
| train_batch_size = 2 | |
| gradient_accumulation_steps = 1 | |
| mixed_precision = "bf16" | |
| save_precision = "bf16" | |
| save_model_as = "safetensors" | |
| save_every_n_epochs = 1 | |
| save_state = true | |
| save_state_on_train_end = true | |
| save_last_n_epochs_state = 2 | |
| seed = 42 | |
| cache_latents = true | |
| cache_latents_to_disk = true | |
| cache_text_encoder_outputs = true | |
| cache_text_encoder_outputs_to_disk = true | |
| vae_chunk_size = 32 | |
| vae_disable_cache = true | |
| attn_mode = "torch" | |
| timestep_sampling = "sigmoid" | |
| discrete_flow_shift = 1.0 | |
| max_data_loader_n_workers = 2 | |
| logging_dir = "/data/nyako-training-150/artifacts/logs" | |
| log_with = "tensorboard" | |
| resume = "/data/nyako-training/artifacts/output/nyako_style-state" | |
| unet_lr = 0.0001 | |
| text_encoder_lr = 0.0001 | |