Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
textual_inversion
Instructions to use hcarrion/hyperpigmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hcarrion/hyperpigmentation with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_textual_inversion("hcarrion/hyperpigmentation") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download tokenizer/special_tokens_map.json from hcarrion/hyperpigmentation: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/hcarrion/hyperpigmentation/resolve/main/tokenizer/special_tokens_map.json
- Command line
-
hf download hf://hcarrion/hyperpigmentation/tokenizer/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/hcarrion/hyperpigmentation/resolve/main/tokenizer/special_tokens_map.json
460 Bytes
| { | |
| "bos_token": { | |
| "content": "<|startoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "!", | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |