Run this model with HF Jobs
Run hr16/sofia-roses-3500 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/hr16/sofia-roses-3500. 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/hr16/sofia-roses-3500 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 hr16/sofia-roses-3500 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hr16/sofia-roses-3500 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hr16/sofia-roses-3500", 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
Upload with huggingface_hub
Browse filesFiles changed (17)
- README.mdAdded+13
- Sofia_Roses_3500-fp16.ckptAdded+3
- feature_extractor/preprocessor_config.jsonAdded+20
- logs/dreambooth/1669210252.7505221/events.out.tfevents.1669210252.fd13698d490e.1212.1Added+3
- logs/dreambooth/events.out.tfevents.1669210252.fd13698d490e.1212.0Added+3
- model_index.jsonAdded+28
- scheduler/scheduler_config.jsonAdded+12
- text_encoder/config.jsonAdded+25
- text_encoder/pytorch_model.binAdded+3
- tokenizer/merges.txtAdded
- tokenizer/special_tokens_map.jsonAdded+24
- tokenizer/tokenizer_config.jsonAdded+34
- tokenizer/vocab.jsonAdded
- unet/config.jsonAdded+37
- unet/diffusion_pytorch_model.binAdded+3
- vae/config.jsonAdded+30
- vae/diffusion_pytorch_model.binAdded+3
12345678910111213---license: creativeml-openrail-mtags:- text-to-image- stable-diffusion---### Model Dreambooth concept Sofia_Roses_3500 được train bởi hr16 bằng [Shinja Zero SoTA DreamBooth_Stable_Diffusion](https://colab.research.google.com/drive/1G7qx6M_S1PDDlsWIMdbZXwdZik6sUlEh) notebook
Test concept bằng [Shinja Zero no Notebook](https://colab.research.google.com/drive/1Hp1ZIjPbsZKlCtomJVmt2oX7733W44b0)Hoặc test bằng `diffusers` [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb)
Ảnh mẫu của concept: WIP123version https://git-lfs.github.com/spec/v1oid sha256:3589b9ae79f093512d7611d1d66e26b3bcdb8a4136813309cf9b45f8f81d89afsize 21328566221234567891011121314151617181920{ "crop_size": 224, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_resize": true, "feature_extractor_type": "CLIPFeatureExtractor", "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "size": 224}123version https://git-lfs.github.com/spec/v1oid sha256:1c1bd603f5ff03ec1e182229ab57d126bc243fe5b9f3a6f00457536fb2617addsize 2262123version https://git-lfs.github.com/spec/v1oid sha256:8a2c66dbc3ce2bc929ddd36d96787599a6e210e093d83478793ab86b93fab389size 589012345678910111213141516171819202122232425262728{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.8.0.dev0", "feature_extractor": [ "transformers", "CLIPFeatureExtractor" ], "scheduler": [ "diffusers", "PNDMScheduler" ], "text_encoder": [ "transformers", "CLIPTextModel" ], "tokenizer": [ "transformers", "CLIPTokenizer" ], "unet": [ "diffusers", "UNet2DConditionModel" ], "vae": [ "diffusers", "AutoencoderKL" ]}123456789101112{ "_class_name": "PNDMScheduler", "_diffusers_version": "0.8.0.dev0", "beta_end": 0.012, "beta_schedule": "scaled_linear", "beta_start": 0.00085, "num_train_timesteps": 1000, "set_alpha_to_one": false, "skip_prk_steps": true, "steps_offset": 1, "trained_betas": null}12345678910111213141516171819202122232425{ "_name_or_path": "Sofia_Roses_2800", "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": "float32", "transformers_version": "4.24.0", "vocab_size": 49408}123version https://git-lfs.github.com/spec/v1oid sha256:76ba05beb8dcd5738fda7e5793571cb5e8be0f1a27e0da6112cdd75d44d53fa6size 492308087123456789101112131415161718192021222324{ "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 }}12345678910111213141516171819202122232425262728293031323334{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "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, "name_or_path": "Sofia_Roses_2800/tokenizer", "pad_token": "<|endoftext|>", "special_tokens_map_file": "./special_tokens_map.json", "tokenizer_class": "CLIPTokenizer", "unk_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}12345678910111213141516171819202122232425262728293031323334353637{ "_class_name": "UNet2DConditionModel", "_diffusers_version": "0.8.0.dev0", "_name_or_path": "Sofia_Roses_2800", "act_fn": "silu", "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "center_input_sample": false, "cross_attention_dim": 768, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "out_channels": 4, "sample_size": 32, "up_block_types": [ "UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:6ce490f90cb07514a95c515cad7be51d2cacff34df7217b4c74b2a146f4c9cfbsize 3438364325123456789101112131415161718192021222324252627282930{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.8.0.dev0", "_name_or_path": "Sofia_Roses_2800/vae", "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": 256, "up_block_types": [ "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:a5957cb736a8b033eba68c89e74a6d89a3d67090fadb8fe3bb11349953e6d290size 334707217README.mdAdded+13
Sofia_Roses_3500-fp16.ckptAdded+3
feature_extractor/preprocessor_config.jsonAdded+20
logs/dreambooth/1669210252.7505221/events.out.tfevents.1669210252.fd13698d490e.1212.1Added+3
logs/dreambooth/events.out.tfevents.1669210252.fd13698d490e.1212.0Added+3
model_index.jsonAdded+28
scheduler/scheduler_config.jsonAdded+12
text_encoder/config.jsonAdded+25
text_encoder/pytorch_model.binAdded+3
tokenizer/merges.txtAdded
tokenizer/special_tokens_map.jsonAdded+24
tokenizer/tokenizer_config.jsonAdded+34
tokenizer/vocab.jsonAdded
unet/config.jsonAdded+37
unet/diffusion_pytorch_model.binAdded+3
vae/config.jsonAdded+30
vae/diffusion_pytorch_model.binAdded+3