Instructions to use morpheushoc/InternVideo2-Cls-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use morpheushoc/InternVideo2-Cls-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="morpheushoc/InternVideo2-Cls-8B", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("morpheushoc/InternVideo2-Cls-8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"auto_map": {
|
| 3 |
"AutoConfig": "model_config.VideoChat2Config"
|
| 4 |
},
|
|
|
|
| 1 |
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
"auto_map": {
|
| 4 |
"AutoConfig": "model_config.VideoChat2Config"
|
| 5 |
},
|