Instructions to use cleitonsoizza/LongCat-Video-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cleitonsoizza/LongCat-Video-base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cleitonsoizza/LongCat-Video-base", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Transformers
How to use cleitonsoizza/LongCat-Video-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cleitonsoizza/LongCat-Video-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer/spiece.model from cleitonsoizza/LongCat-Video-base: direct link, hf CLI and curl.
- Browser
- Download file 4.55 MB
-
https://huggingface.co/cleitonsoizza/LongCat-Video-base/resolve/main/tokenizer/spiece.model
- Command line
-
hf download hf://cleitonsoizza/LongCat-Video-base/tokenizer/spiece.model
-
curl -L -o spiece.model https://huggingface.co/cleitonsoizza/LongCat-Video-base/resolve/main/tokenizer/spiece.model
4.55 MB
- Xet hash:
- dc1aa1312abfae137f5027bba32255b5b00a18106513c6ad3e2a55475f1fb4a0
- Size of remote file:
- 4.55 MB
- SHA256:
- e3909a67b780650b35cf529ac782ad2b6b26e6d1f849d3fbb6a872905f452458
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.