Text-to-Image
Diffusers
TensorBoard
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
lora
Run this model with HF Jobs
Run patrickvonplaten/textual_inversion_cat_2 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/patrickvonplaten/textual_inversion_cat_2. 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/patrickvonplaten/textual_inversion_cat_2 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 patrickvonplaten/textual_inversion_cat_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use patrickvonplaten/textual_inversion_cat_2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-stable-diffusion-pipe", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("patrickvonplaten/textual_inversion_cat_2") 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
Download text_encoder/pytorch_model.bin from patrickvonplaten/textual_inversion_cat_2: direct link, hf CLI and curl.
- Browser
- Download file 303 kB
-
https://huggingface.co/patrickvonplaten/textual_inversion_cat_2/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://patrickvonplaten/textual_inversion_cat_2/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/patrickvonplaten/textual_inversion_cat_2/resolve/main/text_encoder/pytorch_model.bin
303 kB
- Xet hash:
- ad3800514cf2ba67bc93e7d189f3be94b4ca85290ab0b8d00e470e61f4a4e38a
- Size of remote file:
- 303 kB
- SHA256:
- 501ca2b4f7d7318a39764b1db7b7fef300b9e5f7be46026c6246040b8405d1c3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.