Instructions to use keras-dreambooth/dreambooth_diffusion_minercraft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-dreambooth/dreambooth_diffusion_minercraft with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("keras-dreambooth/dreambooth_diffusion_minercraft") - Diffusers
How to use keras-dreambooth/dreambooth_diffusion_minercraft with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("keras-dreambooth/dreambooth_diffusion_minercraft", dtype=torch.bfloat16, device_map="cuda") prompt = "a fishing village under a cherry blossom forest at sunset in mrf style" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("keras-dreambooth/dreambooth_diffusion_minercraft", dtype=torch.bfloat16, device_map="cuda")
prompt = "a fishing village under a cherry blossom forest at sunset in mrf style"
image = pipe(prompt).images[0]Model description
This model has been fine-tuned to learn the concept of Minecraft by ChienVM on this dataset
Intended uses & limitations
Concept token "mrf style". Example: "a photo of landscape in mrf style" This model only finetunes with the landscape image in Minecraft world. Therefore, it can not generate good iamges with other concepts.
Some examples prompt
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
| Hyperparameters | Value |
|---|---|
| inner_optimizer.class_name | Custom>RMSprop |
| inner_optimizer.config.name | RMSprop |
| inner_optimizer.config.weight_decay | None |
| inner_optimizer.config.clipnorm | None |
| inner_optimizer.config.global_clipnorm | None |
| inner_optimizer.config.clipvalue | None |
| inner_optimizer.config.use_ema | False |
| inner_optimizer.config.ema_momentum | 0.99 |
| inner_optimizer.config.ema_overwrite_frequency | 100 |
| inner_optimizer.config.jit_compile | True |
| inner_optimizer.config.is_legacy_optimizer | False |
| inner_optimizer.config.learning_rate | 0.0010000000474974513 |
| inner_optimizer.config.rho | 0.9 |
| inner_optimizer.config.momentum | 0.0 |
| inner_optimizer.config.epsilon | 1e-07 |
| inner_optimizer.config.centered | False |
| dynamic | True |
| initial_scale | 32768.0 |
| dynamic_growth_steps | 2000 |
| training_precision | mixed_float16 |
- Downloads last month
- 12