Run this model with HF Jobs
Run lambda/sd-naruto-diffusers 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/lambda/sd-naruto-diffusers. 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/lambda/sd-naruto-diffusers 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 lambda/sd-naruto-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lambda/sd-naruto-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lambda/sd-naruto-diffusers", 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
Update README.md
Browse files22 unmodified lines23242526272822 unmodified lines> "Bill Gates with a hoodie", "John Oliver with Naruto style", "Hello Kitty with Naruto style", "Lebron James with a hat", "Mickael Jackson as a ninja", "Banksy Street art of ninja"## UsageTo run model locally:22 unmodified lines23242526272829303132333435363738394041424344454647484950515222 unmodified lines> "Bill Gates with a hoodie", "John Oliver with Naruto style", "Hello Kitty with Naruto style", "Lebron James with a hat", "Mickael Jackson as a ninja", "Banksy Street art of ninja"## Prompt engineering mattersWe find that prompt engineering does help produce compelling and consistent Naruto style portraits.For example, writing prompts such as 'portrait of <person_name> as a ninja' or '<person_name> in the style of Naruto> tends to produce results that are closer to the style of Naruto character with the characteristic headband and other elements of costume.Here are a few examples of prompts with and without prompt engineering that will illustrate that point.**Bill Gates:**> Without prompt engineering> With prompt engineering**A cute bunny:**> Without prompt engineering> With prompt engineering## UsageTo run model locally:
README.md+24