Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
trl
o2o
reinforcement-learning
stable-diffusion
Instructions to use hoan17/saving_D500S100_github_160 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hoan17/saving_D500S100_github_160 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hoan17/saving_D500S100_github_160", 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
Download config.json from hoan17/saving_D500S100_github_160: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/hoan17/saving_D500S100_github_160/resolve/main/config.json
- Command line
-
hf download hf://hoan17/saving_D500S100_github_160/config.json
-
curl -L -o config.json https://huggingface.co/hoan17/saving_D500S100_github_160/resolve/main/config.json
1.65 kB
| { | |
| "accelerator_kwargs": {}, | |
| "allow_tf32": true, | |
| "async_reward_computation": false, | |
| "dataset_index": 14, | |
| "exp_name": "o2o", | |
| "global_step": 0, | |
| "high_reward": 1.0, | |
| "huggingface_note": "D500S100_github", | |
| "log_with": "wandb", | |
| "logdir": "logs", | |
| "low_reward": 0.0, | |
| "lr_scheduler": "constant", | |
| "max_iteration": 170, | |
| "max_workers": 2, | |
| "metric_moving_const": 0.9, | |
| "mixed_precision": "fp16", | |
| "negative_prompts": "", | |
| "num_checkpoint_limit": 10, | |
| "num_epochs": 1, | |
| "offpolicy_sample_batch_size": 3, | |
| "online_multification_number": 1, | |
| "per_prompt_stat_tracking": false, | |
| "per_prompt_stat_tracking_buffer_size": 16, | |
| "per_prompt_stat_tracking_min_count": 16, | |
| "project_kwargs": { | |
| "automatic_checkpoint_naming": true, | |
| "logging_dir": "./outputs/logs", | |
| "project_dir": "./outputs/", | |
| "total_limit": 5 | |
| }, | |
| "resolution": 768, | |
| "resume_from": "", | |
| "run_name": "", | |
| "sample_eta": 1.0, | |
| "sample_guidance_scale": 5.0, | |
| "sample_num_batches_per_iteration": 1, | |
| "sample_num_steps": 100, | |
| "save_freq": 10, | |
| "save_start": 140, | |
| "seed": 1, | |
| "show_metrics": true, | |
| "test_mode": true, | |
| "tracker_kwargs": {}, | |
| "tracker_project_name": "Dev", | |
| "train_adam_beta1": 0.9, | |
| "train_adam_beta2": 0.999, | |
| "train_adam_epsilon": 1e-08, | |
| "train_adam_weight_decay": 0.0001, | |
| "train_adv_clip_max": 5.0, | |
| "train_batch_size": 6, | |
| "train_cfg": true, | |
| "train_clip_range": 0.0001, | |
| "train_gradient_accumulation_steps": 1, | |
| "train_learning_rate": 0.0003, | |
| "train_max_grad_norm": 1.0, | |
| "train_num_inner_iterations": 1, | |
| "train_timestep_fraction": 1.0, | |
| "train_use_8bit_adam": false, | |
| "usage_dataset_size": 500 | |
| } |