Video-Text-to-Text
Transformers
Safetensors
English
internvl_chat
feature-extraction
multimodal
custom_code
Eval Results (legacy)
Instructions to use OpenGVLab/InternVideo2_5_Chat_8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/InternVideo2_5_Chat_8B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternVideo2_5_Chat_8B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -107,7 +107,7 @@ Then you could use our model:
|
|
| 107 |
from transformers import AutoModel, AutoTokenizer
|
| 108 |
|
| 109 |
# model setting
|
| 110 |
-
model_path = 'OpenGVLab/
|
| 111 |
|
| 112 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
| 113 |
model = AutoModel.from_pretrained(model_path, trust_remote_code=True).half().cuda()
|
|
|
|
| 107 |
from transformers import AutoModel, AutoTokenizer
|
| 108 |
|
| 109 |
# model setting
|
| 110 |
+
model_path = 'OpenGVLab/InternVideo2_5_Chat_8B'
|
| 111 |
|
| 112 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
| 113 |
model = AutoModel.from_pretrained(model_path, trust_remote_code=True).half().cuda()
|