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:
# 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/modeling/backbones/__init__.py from OpenGVLab/VideoChat-TPO: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/OpenGVLab/VideoChat-TPO/resolve/main/third_party/sam2/modeling/backbones/__init__.py
- Command line
-
hf download hf://OpenGVLab/VideoChat-TPO/third_party/sam2/modeling/backbones/__init__.py
-
curl -L -o __init__.py https://huggingface.co/OpenGVLab/VideoChat-TPO/resolve/main/third_party/sam2/modeling/backbones/__init__.py
197 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |