Instructions to use arraypress/imagine-sana-sprint-1.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use arraypress/imagine-sana-sprint-1.6b with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://arraypress/imagine-sana-sprint-1.6b") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
Download tokenizer/tokenizer.json from arraypress/imagine-sana-sprint-1.6b: direct link, hf CLI and curl.
- Browser
- Download file 34.4 MB
-
https://huggingface.co/arraypress/imagine-sana-sprint-1.6b/resolve/main/tokenizer/tokenizer.json
- Command line
-
hf download hf://arraypress/imagine-sana-sprint-1.6b/tokenizer/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/arraypress/imagine-sana-sprint-1.6b/resolve/main/tokenizer/tokenizer.json
34.4 MB
- Xet hash:
- f626014f493efc12051e33d2403b4adf85556497df99aa6a8f98dcb73e2b6b10
- Size of remote file:
- 34.4 MB
- SHA256:
- 487cee8724215dcd2dde8888539e8b1bf844ceb5dbbe27f7845abda69eeb060f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.