Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Run this model with HF Jobs
Run digiplay/BeautifulFantasyRealMix_diffusers on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/digiplay/BeautifulFantasyRealMix_diffusers. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/digiplay/BeautifulFantasyRealMix_diffusers on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use digiplay/BeautifulFantasyRealMix_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use digiplay/BeautifulFantasyRealMix_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("digiplay/BeautifulFantasyRealMix_diffusers", 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
Adding `diffusers` weights of this model
#1
by digiplay - opened
Files changed (27)
- feature_extractor/preprocessor_config.jsonAdded+28
- model_index.jsonAdded+33
- safety_checker/config.jsonAdded+168
- safety_checker/model.fp16.safetensorsAdded+3
- safety_checker/model.safetensorsAdded+3
- safety_checker/pytorch_model.binAdded+3
- safety_checker/pytorch_model.fp16.binAdded+3
- scheduler/scheduler_config.jsonAdded+22
- text_encoder/config.jsonAdded+25
- text_encoder/model.fp16.safetensorsAdded+3
- text_encoder/model.safetensorsAdded+3
- text_encoder/pytorch_model.binAdded+3
- text_encoder/pytorch_model.fp16.binAdded+3
- tokenizer/merges.txtAdded
- tokenizer/special_tokens_map.jsonAdded+24
- tokenizer/tokenizer_config.jsonAdded+33
- tokenizer/vocab.jsonAdded
- unet/config.jsonAdded+60
- unet/diffusion_pytorch_model.binAdded+3
- unet/diffusion_pytorch_model.fp16.binAdded+3
- unet/diffusion_pytorch_model.fp16.safetensorsAdded+3
- unet/diffusion_pytorch_model.safetensorsAdded+3
- vae/config.jsonAdded+30
- vae/diffusion_pytorch_model.binAdded+3
- vae/diffusion_pytorch_model.fp16.binAdded+3
- vae/diffusion_pytorch_model.fp16.safetensorsAdded+3
- vae/diffusion_pytorch_model.safetensorsAdded+3
12345678910111213141516171819202122232425262728{ "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "feature_extractor_type": "CLIPFeatureExtractor", "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_processor_type": "CLIPFeatureExtractor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123456789101112131415161718192021222324252627282930313233{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.17.0.dev0", "feature_extractor": [ "transformers", "CLIPFeatureExtractor" ], "requires_safety_checker": true, "safety_checker": [ "stable_diffusion", "StableDiffusionSafetyChecker" ], "scheduler": [ "diffusers", "DPMSolverMultistepScheduler" ], "text_encoder": [ "transformers", "CLIPTextModel" ], "tokenizer": [ "transformers", "CLIPTokenizer" ], "unet": [ "diffusers", "UNet2DConditionModel" ], "vae": [ "diffusers", "AutoencoderKL" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168{ "_commit_hash": "cb41f3a270d63d454d385fc2e4f571c487c253c5", "_name_or_path": "CompVis/stable-diffusion-safety-checker", "architectures": [ "StableDiffusionSafetyChecker" ], "initializer_factor": 1.0, "logit_scale_init_value": 2.6592, "model_type": "clip", "projection_dim": 768, "text_config": { "_name_or_path": "", "add_cross_attention": false, "architectures": null, "attention_dropout": 0.0, "bad_words_ids": null, "begin_suppress_tokens": null, "bos_token_id": 0, "chunk_size_feed_forward": 0, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.0, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": 2, "exponential_decay_length_penalty": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "hidden_act": "quick_gelu", "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-05, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 77, "min_length": 0, "model_type": "clip_text_model", "no_repeat_ngram_size": 0, "num_attention_heads": 12, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": 1, "prefix": null, "problem_type": null, "projection_dim": 512, "pruned_heads": {}, "remove_invalid_values": false, "repetition_penalty": 1.0, "return_dict": true, "return_dict_in_generate": false, "sep_token_id": null, "suppress_tokens": null, "task_specific_params": null, "temperature": 1.0, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torch_dtype": null, "torchscript": false, "transformers_version": "4.28.1", "typical_p": 1.0, "use_bfloat16": false, "vocab_size": 49408 }, "torch_dtype": "float16", "transformers_version": null, "vision_config": { "_name_or_path": "", "add_cross_attention": false, "architectures": null, "attention_dropout": 0.0, "bad_words_ids": null, "begin_suppress_tokens": null, "bos_token_id": null, "chunk_size_feed_forward": 0, "cross_attention_hidden_size": null, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.0, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": null, "exponential_decay_length_penalty": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "hidden_act": "quick_gelu", "hidden_size": 1024, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "image_size": 224, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-05, "length_penalty": 1.0, "max_length": 20, "min_length": 0, "model_type": "clip_vision_model", "no_repeat_ngram_size": 0, "num_attention_heads": 16, "num_beam_groups": 1, "num_beams": 1, "num_channels": 3, "num_hidden_layers": 24, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": null, "patch_size": 14, "prefix": null, "problem_type": null, "projection_dim": 512, "pruned_heads": {}, "remove_invalid_values": false, "repetition_penalty": 1.0, "return_dict": true, "return_dict_in_generate": false, "sep_token_id": null, "suppress_tokens": null, "task_specific_params": null, "temperature": 1.0, "tf_legacy_loss": false, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torch_dtype": null, "torchscript": false, "transformers_version": "4.28.1", "typical_p": 1.0, "use_bfloat16": false }}123version https://git-lfs.github.com/spec/v1oid sha256:08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511size 608018440123version https://git-lfs.github.com/spec/v1oid sha256:11cfe53105625af8c00faac32a430626641cce686454f3c39d837f14397d858bsize 1215981832123version https://git-lfs.github.com/spec/v1oid sha256:16d28f2b37109f222cdc33620fdd262102ac32112be0352a7f77e9614b35a394size 1216064769123version https://git-lfs.github.com/spec/v1oid sha256:22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125fsize 60810356412345678910111213141516171819202122{ "_class_name": "DPMSolverMultistepScheduler", "_diffusers_version": "0.17.0.dev0", "algorithm_type": "dpmsolver++", "beta_end": 0.012, "beta_schedule": "scaled_linear", "beta_start": 0.00085, "clip_sample": false, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "lower_order_final": true, "num_train_timesteps": 1000, "prediction_type": "epsilon", "sample_max_value": 1.0, "set_alpha_to_one": false, "solver_order": 2, "solver_type": "midpoint", "steps_offset": 1, "thresholding": false, "trained_betas": null, "use_karras_sigmas": false}12345678910111213141516171819202122232425{ "_name_or_path": "openai/clip-vit-large-patch14", "architectures": [ "CLIPTextModel" ], "attention_dropout": 0.0, "bos_token_id": 0, "dropout": 0.0, "eos_token_id": 2, "hidden_act": "quick_gelu", "hidden_size": 768, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "projection_dim": 768, "torch_dtype": "float16", "transformers_version": "4.28.1", "vocab_size": 49408}123version https://git-lfs.github.com/spec/v1oid sha256:a8be76b6457b95e5246d5358b763c9d71f518fa6bf7e9a2e0a9115ca49c66995size 246144864123version https://git-lfs.github.com/spec/v1oid sha256:79f714eee78fdc761f9dd9e194932d1c7935049d4bbe1061480231d72b7d9d7bsize 492265880123version https://git-lfs.github.com/spec/v1oid sha256:bbbbdbc4664bb970bd39beec1ba55dbe1b0202362d01a970b8744436f7cf888asize 492307041123version https://git-lfs.github.com/spec/v1oid sha256:673417abc4ad4ec8ee6621924e3ab70530930a20b0dfd6f14d5f89172effb895size 246187076123456789101112131415161718192021222324{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "tokenizer_class": "CLIPTokenizer", "unk_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "_class_name": "UNet2DConditionModel", "_diffusers_version": "0.17.0.dev0", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 768, "cross_attention_norm": null, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "dual_cross_attention": false, "encoder_hid_dim": null, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_only_cross_attention": null, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "only_cross_attention": false, "out_channels": 4, "projection_class_embeddings_input_dim": null, "resnet_out_scale_factor": 1.0, "resnet_skip_time_act": false, "resnet_time_scale_shift": "default", "sample_size": 64, "time_cond_proj_dim": null, "time_embedding_act_fn": null, "time_embedding_dim": null, "time_embedding_type": "positional", "timestep_post_act": null, "up_block_types": [ "UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D" ], "upcast_attention": null, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:9a3da9b827d77a8ccce07f47add916928696a17c20a8da871f68e35b1136b00fsize 3438366373123version https://git-lfs.github.com/spec/v1oid sha256:8429b707bd226e66d4d5bd28a384fca12e351d8594347a743537bfefe4f87bd9size 1719327893123version https://git-lfs.github.com/spec/v1oid sha256:57c56682f20113bc534e3dd633a098ff1d85394c8bebb024133e77325b1ce68csize 1719125304123version https://git-lfs.github.com/spec/v1oid sha256:76d2aa4c5085f08d7178a0c4ffa012d997259e7134abf9066a2f910a8c252142size 3438167536123456789101112131415161718192021222324252627282930{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.17.0.dev0", "act_fn": "silu", "block_out_channels": [ 128, 256, 512, 512 ], "down_block_types": [ "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D" ], "in_channels": 3, "latent_channels": 4, "layers_per_block": 2, "norm_num_groups": 32, "out_channels": 3, "sample_size": 512, "scaling_factor": 0.18215, "up_block_types": [ "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:8dace43ca72fe36af7f6f332df55857f679fcec9b03a9488c9410a12fad272b6size 334711857123version https://git-lfs.github.com/spec/v1oid sha256:b8c1c1805cb473250fa09ca0be7318801814491f03bd135400bcb851438f9d2fsize 167405395123version https://git-lfs.github.com/spec/v1oid sha256:d4c5a92c0f24c6247c88ec5916ab2c3014e14fa88818683a624cc6d2ad2fdb71size 167335350123version https://git-lfs.github.com/spec/v1oid sha256:ec47adf9a709fd2b93549f7b674610eb6739d7bb01b9dec7820ad6595dc1923esize 334643276feature_extractor/preprocessor_config.jsonAdded+28
model_index.jsonAdded+33
safety_checker/config.jsonAdded+168
safety_checker/model.fp16.safetensorsAdded+3
safety_checker/model.safetensorsAdded+3
safety_checker/pytorch_model.binAdded+3
safety_checker/pytorch_model.fp16.binAdded+3
scheduler/scheduler_config.jsonAdded+22
text_encoder/config.jsonAdded+25
text_encoder/model.fp16.safetensorsAdded+3
text_encoder/model.safetensorsAdded+3
text_encoder/pytorch_model.binAdded+3
text_encoder/pytorch_model.fp16.binAdded+3
tokenizer/merges.txtAdded
tokenizer/special_tokens_map.jsonAdded+24
tokenizer/tokenizer_config.jsonAdded+33
tokenizer/vocab.jsonAdded
unet/config.jsonAdded+60
unet/diffusion_pytorch_model.binAdded+3
unet/diffusion_pytorch_model.fp16.binAdded+3
unet/diffusion_pytorch_model.fp16.safetensorsAdded+3
unet/diffusion_pytorch_model.safetensorsAdded+3
vae/config.jsonAdded+30
vae/diffusion_pytorch_model.binAdded+3
vae/diffusion_pytorch_model.fp16.binAdded+3
vae/diffusion_pytorch_model.fp16.safetensorsAdded+3
vae/diffusion_pytorch_model.safetensorsAdded+3