Text-to-Image
Diffusers
UniDiffuserPipeline
image-to-text
image-captioning
image-variation
text-variation
multi-modality
generative model
Run this model with HF Jobs
Run dg845/unidiffuser-diffusers-v0 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/dg845/unidiffuser-diffusers-v0. 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/dg845/unidiffuser-diffusers-v0 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 dg845/unidiffuser-diffusers-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dg845/unidiffuser-diffusers-v0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dg845/unidiffuser-diffusers-v0", 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
Delete image_encoder
Browse filesRemove outdated image_encoder (update image_encoder from CLIPVisionModel to CLIPVisionModelWithProjection)
Files changed (2)
- image_encoder/config.jsonDeleted-23
- image_encoder/pytorch_model.binDeleted-3
1234567891011121314151617181920212223{ "_name_or_path": "openai/clip-vit-base-patch32", "architectures": [ "CLIPVisionModel" ], "attention_dropout": 0.0, "dropout": 0.0, "hidden_act": "quick_gelu", "hidden_size": 768, "image_size": 224, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "model_type": "clip_vision_model", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 32, "projection_dim": 512, "torch_dtype": "float32", "transformers_version": "4.26.1"}123version https://git-lfs.github.com/spec/v1oid sha256:97d6b9a07cd0d2448ee68a8d60d8c46aa827c32284088cc6536639d70332af54size 349890221image_encoder/config.jsonDeleted-23
image_encoder/pytorch_model.binDeleted-3