Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5_text
verus
coding
multimodal
vision
262k-context
conversational
Instructions to use 8F-ai/Verus-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 8F-ai/Verus-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="8F-ai/Verus-4B") 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 AutoModel model = AutoModel.from_pretrained("8F-ai/Verus-4B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use 8F-ai/Verus-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "8F-ai/Verus-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "8F-ai/Verus-4B", "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/8F-ai/Verus-4B
- SGLang
How to use 8F-ai/Verus-4B 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 "8F-ai/Verus-4B" \ --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": "8F-ai/Verus-4B", "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 "8F-ai/Verus-4B" \ --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": "8F-ai/Verus-4B", "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 8F-ai/Verus-4B with Docker Model Runner:
docker model run hf.co/8F-ai/Verus-4B
Commit History
-
Update LICENSE
Verified signature51a7d22 -
Update LICENSE
Verified signatured900c04 -
Update README.md
Verified signaturea641dc5
-
Update README.md
Verified signature7f13a55 -
Delete train.py
Verified signatureceb76bc -
Delete upload_to_hf.py
Verified signaturef48c893 -
Update README.md
Verified signaturef8f197b -
Update README.md
Verified signaturee002e49 -
Update README.md
Verified signature45c3cb4 -
Update README.md
Verified signatured5ab454 -
Update README.md
Verified signaturefdfa805 -
Update README.md
Verified signature0157a38 -
Update README.md
Verified signature830eaa2 -
Update README.md
Verified signaturebb861c9 -
Upload folder using huggingface_hub
Verified signatureacfb913 -
Upload folder using huggingface_hub
Verified signature8da17a5 -
Upload folder using huggingface_hub
Verified signaturec067b4a -
Delete chat_template.jinja
Verified signature11af4e1 -
Upload folder using huggingface_hub
Verified signature9da28c1 -
Delete model.safetensors.index.json
Verified signature819b983 -
Upload folder using huggingface_hub
Verified signature53a8093 -
Delete tokenizer_config.json
Verified signature0ab54d2 -
Upload folder using huggingface_hub
Verified signaturef43d805 -
Delete tokenizer.json
Verified signature4cbc6e0 -
Delete video_preprocessor_config.json
Verified signaturee0db5f5 -
Upload folder using huggingface_hub
Verified signature6813ca1 -
Delete config.json
Verified signature62924b1 -
Upload folder using huggingface_hub
Verified signaturebafa16b -
initial commit
Verified signature500a1b6