Image-Text-to-Text
Transformers
English
vision-language-model
vlm
surveillance
iot
gemma
vl-jepa
multimodal
object-detection
video-analytics
Instructions to use hardiksa/arcisvlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hardiksa/arcisvlm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="hardiksa/arcisvlm")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hardiksa/arcisvlm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hardiksa/arcisvlm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hardiksa/arcisvlm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hardiksa/arcisvlm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/hardiksa/arcisvlm
- SGLang
How to use hardiksa/arcisvlm 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 "hardiksa/arcisvlm" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hardiksa/arcisvlm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "hardiksa/arcisvlm" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hardiksa/arcisvlm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use hardiksa/arcisvlm with Docker Model Runner:
docker model run hf.co/hardiksa/arcisvlm
Commit History
-
feat: integrate Gemma 4 E2B backbone for production-quality VLM inference
Hardik Sanghvi +1: Claude Opus 4.6 (1M context)Replace custom MoE decoder (which failed after 9 training rounds) with Google Gemma 4 E2B (2.3B effective, 5.1B total, Apache 2.0) as the language backbone. All 8 agents now produce meaningful, accurate output: - Caption: detailed scene descriptions - Detect: structured JSON with bounding box coordinates - Alert: severity levels with security recommendations - VQA: contextual visual answers - Count: precise object counting - OCR: text/sign recognition - Reason: multi-paragraph security analysis - Track: motion trajectory descriptions Includes benchmark results vs Qwen3 VL 8B (via OpenRouter). Average latency: ArcisVLM 6.2s vs Qwen3 VL 4.6s on A100. Key files: - model/gemma_backbone.py: GemmaBackbone class with 8 agent-specific prompts - agents/answer_parser.py: structured output parsing per agent type - agents/annotator.py: OpenCV frame annotation with bboxes/labels - agents/postprocess.py: unified post-processing pipeline - api/deps.py: Gemma model loading via USE_GEMMA=1 env var -…7a564e3