Run this model with HF Jobs
Run ussari/comp 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/ussari/comp. 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/ussari/comp 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 ussari/comp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ussari/comp with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ussari/comp", 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 12 files
Browse filesFiles changed (12)
- comp_v10/comp/model_index.jsonAdded+37
- comp_v10/comp/scheduler/scheduler_config.jsonAdded+27
- comp_v10/comp/text_encoder/config.jsonAdded+24
- comp_v10/comp/text_encoder/model.safetensorsAdded+3
- comp_v10/comp/tokenizer/added_tokens.jsonAdded+10
- comp_v10/comp/tokenizer/merges.txtAdded
- comp_v10/comp/tokenizer/special_tokens_map.jsonAdded+30
- comp_v10/comp/tokenizer/tokenizer_config.jsonAdded+94
- comp_v10/comp/tokenizer/vocab.jsonAdded
- comp_v10/comp/unet/config.jsonAdded+67
- comp_v10/comp/vae/config.jsonAdded+32
- comp_v10/comp/vae/diffusion_pytorch_model.safetensorsAdded+3
12345678910111213141516171819202122232425262728293031323334353637{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.24.0", "feature_extractor": [ null, null ], "image_encoder": [ null, null ], "requires_safety_checker": true, "safety_checker": [ null, null ], "scheduler": [ "diffusers", "DPMSolverMultistepScheduler" ], "text_encoder": [ "transformers", "CLIPTextModel" ], "tokenizer": [ "transformers", "CLIPTokenizer" ], "unet": [ "diffusers", "UNet2DConditionModel" ], "vae": [ "diffusers", "AutoencoderKL" ]}123456789101112131415161718192021222324252627{ "_class_name": "DPMSolverMultistepScheduler", "_diffusers_version": "0.24.0", "algorithm_type": "dpmsolver++", "beta_end": 0.012, "beta_schedule": "scaled_linear", "beta_start": 0.00085, "clip_sample": false, "dynamic_thresholding_ratio": 0.995, "euler_at_final": false, "lambda_min_clipped": -Infinity, "lower_order_final": true, "num_train_timesteps": 1000, "prediction_type": "epsilon", "sample_max_value": 1.0, "set_alpha_to_one": false, "skip_prk_steps": true, "solver_order": 2, "solver_type": "midpoint", "steps_offset": 1, "thresholding": false, "timestep_spacing": "linspace", "trained_betas": null, "use_karras_sigmas": true, "use_lu_lambdas": false, "variance_type": null}123456789101112131415161718192021222324{ "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.35.2", "vocab_size": 49416}123version https://git-lfs.github.com/spec/v1oid sha256:e30e826a12c63c5881d98fe40008fe80c47246961e502df65d9df1b0513e6e88size 49228974412345678910{ "EasyNegative": 49408, "EasyNegative_1": 49409, "EasyNegative_2": 49410, "EasyNegative_3": 49411, "EasyNegative_4": 49412, "EasyNegative_5": 49413, "EasyNegative_6": 49414, "EasyNegative_7": 49415}123456789101112131415161718192021222324252627282930{ "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": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ "add_prefix_space": false, "added_tokens_decoder": { "49406": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "49407": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "49408": { "content": "EasyNegative", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49409": { "content": "EasyNegative_1", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49410": { "content": "EasyNegative_2", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49411": { "content": "EasyNegative_3", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49412": { "content": "EasyNegative_4", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49413": { "content": "EasyNegative_5", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49414": { "content": "EasyNegative_6", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "49415": { "content": "EasyNegative_7", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false } }, "bos_token": "<|startoftext|>", "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": "<|endoftext|>", "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "tokenizer_class": "CLIPTokenizer", "unk_token": "<|endoftext|>"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ "_class_name": "UNet2DConditionModel", "_diffusers_version": "0.24.0", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": 8, "attention_type": "default", "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, "dropout": 0.0, "dual_cross_attention": false, "encoder_hid_dim": null, "encoder_hid_dim_type": 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_attention_heads": null, "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", "reverse_transformer_layers_per_block": null, "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, "transformer_layers_per_block": 1, "up_block_types": [ "UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D" ], "upcast_attention": null, "use_linear_projection": false}1234567891011121314151617181920212223242526272829303132{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.24.0", "_name_or_path": "stabilityai/sd-vae-ft-ema", "act_fn": "silu", "block_out_channels": [ 128, 256, 512, 512 ], "down_block_types": [ "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D" ], "force_upcast": true, "in_channels": 3, "latent_channels": 4, "layers_per_block": 2, "norm_num_groups": 32, "out_channels": 3, "sample_size": 256, "scaling_factor": 0.18215, "up_block_types": [ "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:703abdcd7c389316b5128faa9b750a530ea1680b453170b27afebac5e4db30c4size 334643268comp_v10/comp/model_index.jsonAdded+37
comp_v10/comp/scheduler/scheduler_config.jsonAdded+27
comp_v10/comp/text_encoder/config.jsonAdded+24
comp_v10/comp/text_encoder/model.safetensorsAdded+3
comp_v10/comp/tokenizer/added_tokens.jsonAdded+10
comp_v10/comp/tokenizer/merges.txtAdded
comp_v10/comp/tokenizer/special_tokens_map.jsonAdded+30
comp_v10/comp/tokenizer/tokenizer_config.jsonAdded+94
comp_v10/comp/tokenizer/vocab.jsonAdded
comp_v10/comp/unet/config.jsonAdded+67
comp_v10/comp/vae/config.jsonAdded+32
comp_v10/comp/vae/diffusion_pytorch_model.safetensorsAdded+3