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/preprocessor_config.json from JSYuuu/ThinkGen: direct link, hf CLI and curl.
- Browser
- Download file 782 Bytes
-
https://huggingface.co/JSYuuu/ThinkGen/resolve/main/processor/preprocessor_config.json
- Command line
-
hf download hf://JSYuuu/ThinkGen/processor/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/JSYuuu/ThinkGen/resolve/main/processor/preprocessor_config.json
782 Bytes
- Xet hash:
- 17427eabce8349e78db8f92efd45f09537146640d55c13cdc8934d257163739d
- Size of remote file:
- 782 Bytes
- SHA256:
- 93585062a80db5e8ca038efc7726a3e6411d9db948472d81d63c6303993be8c5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.