Run this model with HF Jobs
Run models123/LongCat-Image-Dev on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/models123/LongCat-Image-Dev. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/models123/LongCat-Image-Dev on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use models123/LongCat-Image-Dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use models123/LongCat-Image-Dev with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("models123/LongCat-Image-Dev", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vae/config.json from models123/LongCat-Image-Dev: direct link, hf CLI and curl.
- Browser
- Download file 820 Bytes
-
https://huggingface.co/models123/LongCat-Image-Dev/resolve/main/vae/config.json
- Command line
-
hf download hf://models123/LongCat-Image-Dev/vae/config.json
-
curl -L -o config.json https://huggingface.co/models123/LongCat-Image-Dev/resolve/main/vae/config.json
820 Bytes
| { | |
| "_class_name": "AutoencoderKL", | |
| "_diffusers_version": "0.30.0.dev0", | |
| "_name_or_path": "../checkpoints/flux-dev", | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D" | |
| ], | |
| "force_upcast": true, | |
| "in_channels": 3, | |
| "latent_channels": 16, | |
| "latents_mean": null, | |
| "latents_std": null, | |
| "layers_per_block": 2, | |
| "mid_block_add_attention": true, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_size": 1024, | |
| "scaling_factor": 0.3611, | |
| "shift_factor": 0.1159, | |
| "up_block_types": [ | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D" | |
| ], | |
| "use_post_quant_conv": false, | |
| "use_quant_conv": false | |
| } | |