Instructions to use Devops-hestabit/InternVL-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Devops-hestabit/InternVL-chat with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="Devops-hestabit/InternVL-chat", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Devops-hestabit/InternVL-chat", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update requirements.txt
Verified signature7071ee5 -
Update requirements.txt
Verified signature56d6866 -
Update handler.py
Verified signatureb0ed3c0 -
Add inputs json format
Verified signaturec382948 -
Update handler.py
Verified signature6c72430 -
custom deployment files
Verified signature78585b3
-
Upload 29 files
Verified signaturea3d850d -
initial commit
Verified signature63272b1