Instructions to use OpenGVLab/InternViT-6B-224px with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/InternViT-6B-224px with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="OpenGVLab/InternViT-6B-224px", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternViT-6B-224px", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -27,9 +27,7 @@ It is _**the largest open-source vision/vision-language foundation model (14B)**
|
|
| 27 |
- Image size: 224 x 224
|
| 28 |
- **Pretrain Dataset:** LAION-en, LAION-COCO, COYO, CC12M, CC3M, SBU, Wukong, LAION-multi
|
| 29 |
|
| 30 |
-
## Model Usage
|
| 31 |
-
|
| 32 |
-
### Image Embeddings
|
| 33 |
|
| 34 |
```python
|
| 35 |
import torch
|
|
|
|
| 27 |
- Image size: 224 x 224
|
| 28 |
- **Pretrain Dataset:** LAION-en, LAION-COCO, COYO, CC12M, CC3M, SBU, Wukong, LAION-multi
|
| 29 |
|
| 30 |
+
## Model Usage (Image Embeddings)
|
|
|
|
|
|
|
| 31 |
|
| 32 |
```python
|
| 33 |
import torch
|