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 checkpoints/action_model/config.json from ccccsc/preview_model: direct link, hf CLI and curl.
- Browser
- Download file 868 Bytes
-
https://huggingface.co/ccccsc/preview_model/resolve/main/checkpoints/action_model/config.json
- Command line
-
hf download hf://ccccsc/preview_model/checkpoints/action_model/config.json
-
curl -L -o config.json https://huggingface.co/ccccsc/preview_model/resolve/main/checkpoints/action_model/config.json
868 Bytes
| { | |
| "_class_name": "ActionExpert", | |
| "_diffusers_version": "0.35.2", | |
| "action_attention_head_dim": 72, | |
| "action_in_channels": 32, | |
| "action_num_attention_heads": 16, | |
| "activation_fn": "gelu-approximate", | |
| "adapter_depth": 4, | |
| "attention_bias": true, | |
| "attention_out_bias": true, | |
| "body_embedding_dim": null, | |
| "body_embedding_enabled": true, | |
| "body_embedding_zero_init": true, | |
| "chunkwise_causal": false, | |
| "is_causal": false, | |
| "latent_base_f": 9, | |
| "latent_base_h": 4, | |
| "latent_base_w": 6, | |
| "max_action_length": 64, | |
| "n_view": 3, | |
| "norm_elementwise_affine": false, | |
| "norm_eps": 1e-06, | |
| "num_body_embeddings": 12, | |
| "num_layers": 28, | |
| "num_view_identities": 8, | |
| "qk_norm": "rms_norm_across_heads", | |
| "residual_scale": 0.0, | |
| "state_dim": 30, | |
| "use_complex_adapter": false, | |
| "use_state_direct": true, | |
| "visible_chunk": 32, | |
| "vision_in_dim": 512 | |
| } | |