Instructions to use TSunm/InternVL2-1B-ViVQA-X with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TSunm/InternVL2-1B-ViVQA-X with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="TSunm/InternVL2-1B-ViVQA-X", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TSunm/InternVL2-1B-ViVQA-X", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from TSunm/InternVL2-1B-ViVQA-X: direct link, hf CLI and curl.
- Browser
- Download file 2.78 MB
-
https://huggingface.co/TSunm/InternVL2-1B-ViVQA-X/resolve/main/vocab.json
- Command line
-
hf download hf://TSunm/InternVL2-1B-ViVQA-X/vocab.json
-
curl -L -o vocab.json https://huggingface.co/TSunm/InternVL2-1B-ViVQA-X/resolve/main/vocab.json
2.78 MB
File too large to display, you can check the raw version instead.