Instructions to use ccccsc/preview_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ccccsc/preview_model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ccccsc/preview_model", 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 README.md from ccccsc/preview_model: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/ccccsc/preview_model/resolve/main/README.md
- Command line
-
hf download hf://ccccsc/preview_model/README.md
-
curl -L -o README.md https://huggingface.co/ccccsc/preview_model/resolve/main/README.md
1.68 kB
| # Preview Model Weights | |
| This directory contains the local weights required by the Preview Model. | |
| ## Weight Mapping | |
| | Component | Local path | Description | | |
| | --- | --- | --- | | |
| | Video generation model (VGen) | `checkpoints/diffusion_pytorch_model.bin` | Main video diffusion model. | | |
| | Action Expert | `checkpoints/action_model/diffusion_pytorch_model.bin` | Action prediction model. | | |
| | VAE | `vae/diffusion_pytorch_model.safetensors` | Video latent encoder and decoder. | | |
| | VAE latent statistics | `vae/latent_stats.pth` | Latent normalization statistics used by the VAE. | | |
| | Qwen3.5 VLM | [Qwen/Qwen3.5-2B](https://huggingface.co/Qwen/Qwen3.5-2B) | Vision-language model used for instruction and image conditioning. | | |
| The `config.json` files next to each model define the corresponding model | |
| architecture. | |
| ## Expected Layout | |
| ```text | |
| preview_model/ | |
| βββ checkpoints/ | |
| β βββ config.json | |
| β βββ diffusion_pytorch_model.bin | |
| β βββ action_model/ | |
| β βββ config.json | |
| β βββ diffusion_pytorch_model.bin | |
| βββ vae/ | |
| β βββ config.json | |
| β βββ diffusion_pytorch_model.safetensors | |
| β βββ latent_stats.pth | |
| βββ stats.json | |
| ``` | |
| `stats.json` contains the state and action normalization statistics used during | |
| policy inference. | |
| ## Runtime Paths | |
| Use `preview_model/checkpoints` as the `CKPT` directory, use | |
| `preview_model/vae` as the configured VAE path, and set the VAE statistics path | |
| to `preview_model/vae/latent_stats.pth`. Download Qwen3.5-2B from the link above | |
| and set `vlm_model_id` to its local directory or directly to | |
| `Qwen/Qwen3.5-2B` when Hugging Face downloads are available. | |