Instructions to use AIhgenerator/nsfwxxl2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AIhgenerator/nsfwxxl2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AIhgenerator/nsfwxxl2", 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
Download text_encoder/pytorch_model.bin from AIhgenerator/nsfwxxl2: direct link, hf CLI and curl.
- Browser
- Download file 246 MB
-
https://huggingface.co/AIhgenerator/nsfwxxl2/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://AIhgenerator/nsfwxxl2/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/AIhgenerator/nsfwxxl2/resolve/main/text_encoder/pytorch_model.bin
246 MB
- Xet hash:
- f4f607aedc19f92212b4708647362a451b6c2f82d847db6f488784d8e758649a
- Size of remote file:
- 246 MB
- SHA256:
- 928a4e0dd3bd828fedcb89d233044ed8f2983f57284366a00bfb537ccba5b6d5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.