Instructions to use OpenGVLab/VideoChat-TPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/VideoChat-TPO with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/VideoChat-TPO", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download third_party/sam2/__pycache__/build_sam.cpython-310.pyc from OpenGVLab/VideoChat-TPO: direct link, hf CLI and curl.
- Browser
- Download file 2.74 kB
-
https://huggingface.co/OpenGVLab/VideoChat-TPO/resolve/main/third_party/sam2/__pycache__/build_sam.cpython-310.pyc
- Command line
-
hf download hf://OpenGVLab/VideoChat-TPO/third_party/sam2/__pycache__/build_sam.cpython-310.pyc
-
curl -L -o build_sam.cpython-310.pyc https://huggingface.co/OpenGVLab/VideoChat-TPO/resolve/main/third_party/sam2/__pycache__/build_sam.cpython-310.pyc
2.74 kB
This file contains binary data. It cannot be displayed, but you can still download it.