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