Instructions to use OpenGVLab/InternViT-300M-448px with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/InternViT-300M-448px with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="OpenGVLab/InternViT-300M-448px", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternViT-300M-448px", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Delete __init__.py
Browse files- __init__.py +0 -13
__init__.py
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
# --------------------------------------------------------
|
| 2 |
-
# InternVL
|
| 3 |
-
# Copyright (c) 2023 OpenGVLab
|
| 4 |
-
# Licensed under The MIT License [see LICENSE for details]
|
| 5 |
-
# --------------------------------------------------------
|
| 6 |
-
|
| 7 |
-
from .configuration_intern_vit import InternVisionConfig
|
| 8 |
-
from .configuration_internvl_chat import InternVLChatConfig
|
| 9 |
-
from .modeling_intern_vit import InternVisionModel
|
| 10 |
-
from .modeling_internvl_chat import InternVLChatModel
|
| 11 |
-
|
| 12 |
-
__all__ = ['InternVisionConfig', 'InternVisionModel',
|
| 13 |
-
'InternVLChatConfig', 'InternVLChatModel']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|