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