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