Instructions to use OpenGVLab/InternVideo2-Chat-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/InternVideo2-Chat-8B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternVideo2-Chat-8B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Error of connection
#4
by bahaeddine09 - opened
I keep getting this error: OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like OpenGVLab/InternVideo2-Chat-8B is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
Do you have any clue on how to solve this?
You need to ensure that you can connect to huggingface properly, or clone the contents of this repo completely and add local_files_only=True at the function from_pretrain