Instructions to use OpenGVLab/InternViT-6B-448px-V1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/InternViT-6B-448px-V1-5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="OpenGVLab/InternViT-6B-448px-V1-5", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternViT-6B-448px-V1-5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
这个模型能直接推理分析图片吗
#3
by windcat - opened
可以直接用这个模型分析图片吗,能不能提供一个小白用的例子
这个模型是Pretrain阶段的ViT,不能直接分析图片,要接上一个语言模型一起训练之后才可以分析图片。或者像传统感知任务那样,作为backbone使用
感谢耐心解惑
czczup changed discussion status to closed