Run this model with HF Jobs

Run kiddoos/totoro 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/kiddoos/totoro. 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/kiddoos/totoro 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.
How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("kiddoos/totoro", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Totoro LoRA text2image fine-tuning

These are LoRA adaption weights for nitrosocke/Ghibli-Diffusion.

pipe = StableDiffusionPipeline.from_pretrained(
  model_id,
  torch_dtype=torch.float16,
  safety_checker=None,
)
pipe.enable_xformers_memory_efficient_attention()
pipe.load_lora_weights(./lora_weights)
pipe = pipe.to('cuda')

image = pipe(
  prompt='Totoro',
  num_inference_steps=66,
  guidance_scale=6.9,
  cross_attention_kwargs={'scale': 0.6 },
).images[0]

image1 image2 image3 image4 image5 image6 image7 image8 image9 image10

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support