Instructions to use janhq/Jan-v2-VL-high-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use janhq/Jan-v2-VL-high-gguf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="janhq/Jan-v2-VL-high-gguf") 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)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("janhq/Jan-v2-VL-high-gguf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use janhq/Jan-v2-VL-high-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Use Docker
docker model run hf.co/janhq/Jan-v2-VL-high-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use janhq/Jan-v2-VL-high-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "janhq/Jan-v2-VL-high-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "janhq/Jan-v2-VL-high-gguf", "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/janhq/Jan-v2-VL-high-gguf:Q4_K_M
- SGLang
How to use janhq/Jan-v2-VL-high-gguf 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 "janhq/Jan-v2-VL-high-gguf" \ --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": "janhq/Jan-v2-VL-high-gguf", "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 "janhq/Jan-v2-VL-high-gguf" \ --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": "janhq/Jan-v2-VL-high-gguf", "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" } } ] } ] }' - Ollama
How to use janhq/Jan-v2-VL-high-gguf with Ollama:
ollama run hf.co/janhq/Jan-v2-VL-high-gguf:Q4_K_M
- Unsloth Desktop
- Pi
How to use janhq/Jan-v2-VL-high-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "janhq/Jan-v2-VL-high-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use janhq/Jan-v2-VL-high-gguf with Docker Model Runner:
docker model run hf.co/janhq/Jan-v2-VL-high-gguf:Q4_K_M
- Lemonade
How to use janhq/Jan-v2-VL-high-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull janhq/Jan-v2-VL-high-gguf:Q4_K_M
Run and chat with the model
lemonade run user.Jan-v2-VL-high-gguf-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use janhq/Jan-v2-VL-high-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default janhq/Jan-v2-VL-high-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use janhq/Jan-v2-VL-high-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf janhq/Jan-v2-VL-high-gguf:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "janhq/Jan-v2-VL-high-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse files- .gitattributes +15 -0
- Jan-v2-VL-high-Q3_K_L.gguf +3 -0
- Jan-v2-VL-high-Q3_K_M.gguf +3 -0
- Jan-v2-VL-high-Q3_K_S.gguf +3 -0
- Jan-v2-VL-high-Q4_0.gguf +3 -0
- Jan-v2-VL-high-Q4_1.gguf +3 -0
- Jan-v2-VL-high-Q4_K_M.gguf +3 -0
- Jan-v2-VL-high-Q4_K_S.gguf +3 -0
- Jan-v2-VL-high-Q5_0.gguf +3 -0
- Jan-v2-VL-high-Q5_1.gguf +3 -0
- Jan-v2-VL-high-Q5_K_M.gguf +3 -0
- Jan-v2-VL-high-Q5_K_S.gguf +3 -0
- Jan-v2-VL-high-Q6_K.gguf +3 -0
- Jan-v2-VL-high-Q8_0.gguf +3 -0
- Jan-v2-VL-high.gguf +3 -0
- mmproj-Jan-v2-VL-high.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,18 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Jan-v2-VL-high-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Jan-v2-VL-high-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Jan-v2-VL-high-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Jan-v2-VL-high-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Jan-v2-VL-high-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Jan-v2-VL-high-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Jan-v2-VL-high-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Jan-v2-VL-high-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Jan-v2-VL-high-Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Jan-v2-VL-high-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Jan-v2-VL-high-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Jan-v2-VL-high-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Jan-v2-VL-high-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Jan-v2-VL-high.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
mmproj-Jan-v2-VL-high.gguf filter=lfs diff=lfs merge=lfs -text
|
Jan-v2-VL-high-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00ab8fd9e03b58ff8e573fab0da442342991a1ffc77325909815a8e54ef172e6
|
| 3 |
+
size 4431394784
|
Jan-v2-VL-high-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c03280355b950975a9f145ccb11dc6094c713feafe8eb42c1854751c96624382
|
| 3 |
+
size 4124162016
|
Jan-v2-VL-high-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfa8fafa0e6196134f0ac2bf492d054e736448db94205bdc646f5722f944b29c
|
| 3 |
+
size 3769612256
|
Jan-v2-VL-high-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9aefe2d6fad2833d72fa7e0f7991ffed1110f6f81fe4327c0537068a2813ba84
|
| 3 |
+
size 4774750176
|
Jan-v2-VL-high-Q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf4b0cc612391d114ca814b016038b26642f8925517b347975fcbe91ca7129a2
|
| 3 |
+
size 5247756256
|
Jan-v2-VL-high-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45d5d52ac5b8bcb89b0d21f609576f01626006f5c0871a6c8af58d3b82dafdaa
|
| 3 |
+
size 5027784672
|
Jan-v2-VL-high-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47fc08e35526a7394fe0f70aa7cd5f5f4572c3d0e73ca7f655928c92cac72c08
|
| 3 |
+
size 4802013152
|
Jan-v2-VL-high-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a466061111c616ca37fe3f0bc6783a9ad9e048bb720efde8859bec10dc67608
|
| 3 |
+
size 5720762336
|
Jan-v2-VL-high-Q5_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72a78099025e31ddffa8bc4b7e5d2000342bc7cb9212f7b0e309c7cae1ce7b30
|
| 3 |
+
size 6193768416
|
Jan-v2-VL-high-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1a04be04d5364b04e62548c92fe3f23b9ddd950553d015a9ff1f23315a94a53
|
| 3 |
+
size 5851113440
|
Jan-v2-VL-high-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75173a8401a113579bc64c1dc265bfca67e0d75d9de579026b6a600f5512f704
|
| 3 |
+
size 5720762336
|
Jan-v2-VL-high-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1df9ac575cc12557ebc80d5b757655d3a5d43450d7965c910300949d40b82235
|
| 3 |
+
size 6725900256
|
Jan-v2-VL-high-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5a72a885042a8e5b6c62d0d1ca1912eb0834928e365783bc9cf86fb96c6bd01
|
| 3 |
+
size 8709519328
|
Jan-v2-VL-high.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:166ee218ef1dab37afd708175cc31c818c9fbef6f56fe8d19e774f05cce3d701
|
| 3 |
+
size 16388044768
|
mmproj-Jan-v2-VL-high.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77f974487a526720e39c830ad8471b1a04857a9ab284ae7445040ad36c5557fd
|
| 3 |
+
size 1162568768
|