Image-Text-to-Text
Transformers
Safetensors
English
internvl
viewsuite
view-planning
active-perception
camera-control
embodied-ai
vision-language-model
reinforcement-learning
conversational
Instructions to use MLL-Lab/VGD-InternVL3-8B-ScanNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MLL-Lab/VGD-InternVL3-8B-ScanNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="MLL-Lab/VGD-InternVL3-8B-ScanNet") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("MLL-Lab/VGD-InternVL3-8B-ScanNet") model = AutoModelForMultimodalLM.from_pretrained("MLL-Lab/VGD-InternVL3-8B-ScanNet", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MLL-Lab/VGD-InternVL3-8B-ScanNet with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MLL-Lab/VGD-InternVL3-8B-ScanNet" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MLL-Lab/VGD-InternVL3-8B-ScanNet", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/MLL-Lab/VGD-InternVL3-8B-ScanNet
- SGLang
How to use MLL-Lab/VGD-InternVL3-8B-ScanNet with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MLL-Lab/VGD-InternVL3-8B-ScanNet" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MLL-Lab/VGD-InternVL3-8B-ScanNet", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MLL-Lab/VGD-InternVL3-8B-ScanNet" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MLL-Lab/VGD-InternVL3-8B-ScanNet", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use MLL-Lab/VGD-InternVL3-8B-ScanNet with Docker Model Runner:
docker model run hf.co/MLL-Lab/VGD-InternVL3-8B-ScanNet
File size: 1,671 Bytes
38c539c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | {
"package": "VGD-InternVL3-8B-ScanNet",
"generated_utc": "2026-11-20T11:13:19Z",
"files": [
{
"path": "LICENSE",
"bytes": 6962,
"sha256": "8aff84e2629edb092f195c1d91bc368d8bb40eeb5fcedce2df19e405ee2cc876"
},
{
"path": "LICENSE-InternVL-MIT",
"bytes": 1066,
"sha256": "8f03d25fbcffafa2254d4d1414bf2a38423a966006b4a6964ee21f728d610bff"
},
{
"path": "NOTICE",
"bytes": 843,
"sha256": "4c4cd166377d0e3e76b270a7e1ba5c0ea834c6304d3d23b298b1711bd49554f0"
},
{
"path": "README.md",
"bytes": 9230,
"sha256": "12da4fe9e450de07873d39bf7253c66c248efd854f0d3881e1252b9554f2d68c"
},
{
"path": "chat_template.jinja",
"bytes": 481,
"sha256": "b3e3fa7cdeceec1d3dfe0d17b77724baf3857714e688f3a700261567e96140eb"
},
{
"path": "config.json",
"bytes": 2832,
"sha256": "89ae63617a10055d900af2fe3a125e9a1f7cabe30bbeca0d61e07cb34f7bbd3b"
},
{
"path": "generation_config.json",
"bytes": 142,
"sha256": "1d48a6bc0b88930087c763dfd7d22a7de1835fb027c499dfaaaf00e5815d2dcb"
},
{
"path": "model.safetensors",
"bytes": 31777594648,
"sha256": "e893ec24d3f74e67fd4e61641f68246664a47698a76de6e492281f4802493ec2"
},
{
"path": "processor_config.json",
"bytes": 1313,
"sha256": "e6c43a0255b748883485531a22936ca3b770348ddd6afbae2cdc51ac505ae7c3"
},
{
"path": "tokenizer.json",
"bytes": 11423728,
"sha256": "fd0c8be238c81a5f0450067d9565e16794aef2699df631fcf3dd0c2ac4842b06"
},
{
"path": "tokenizer_config.json",
"bytes": 843,
"sha256": "c8a6d7b051ec07a08050eb666974a7c4891909592724095645bddf8a5f41260c"
}
],
"totals": {
"files": 11,
"bytes": 31789042088
}
}
|