Image-Text-to-Text
Safetensors
GGUF
Spanish
English
gemma4
multimodal
vision
cybersecurity
latin-america
spanish
lora
conversational
Instructions to use jsantillana/vectrayx-vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jsantillana/vectrayx-vision 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 jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: llama cli -hf jsantillana/vectrayx-vision:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: llama cli -hf jsantillana/vectrayx-vision: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 jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf jsantillana/vectrayx-vision: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 jsantillana/vectrayx-vision:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf jsantillana/vectrayx-vision:Q4_K_M
Use Docker
docker model run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use jsantillana/vectrayx-vision with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jsantillana/vectrayx-vision" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jsantillana/vectrayx-vision", "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/jsantillana/vectrayx-vision:Q4_K_M
- Ollama
How to use jsantillana/vectrayx-vision with Ollama:
ollama run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- Unsloth Desktop
- Pi
How to use jsantillana/vectrayx-vision with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jsantillana/vectrayx-vision: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": "jsantillana/vectrayx-vision:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jsantillana/vectrayx-vision with Docker Model Runner:
docker model run hf.co/jsantillana/vectrayx-vision:Q4_K_M
- Lemonade
How to use jsantillana/vectrayx-vision with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jsantillana/vectrayx-vision:Q4_K_M
Run and chat with the model
lemonade run user.vectrayx-vision-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use jsantillana/vectrayx-vision with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jsantillana/vectrayx-vision: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 jsantillana/vectrayx-vision:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jsantillana/vectrayx-vision with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jsantillana/vectrayx-vision: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 "jsantillana/vectrayx-vision: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"
Rewrite model card in English with accurate training details
Browse files
README.md
CHANGED
|
@@ -18,9 +18,9 @@ pipeline_tag: image-text-to-text
|
|
| 18 |
|
| 19 |
# VectraYX Vision
|
| 20 |
|
| 21 |
-
VectraYX Vision
|
| 22 |
|
| 23 |
-
##
|
| 24 |
|
| 25 |
### Ollama
|
| 26 |
```bash
|
|
@@ -28,10 +28,10 @@ ollama run jsantillana/vectrayx-vision
|
|
| 28 |
```
|
| 29 |
|
| 30 |
### llama.cpp / LM Studio
|
| 31 |
-
|
| 32 |
|
| 33 |
```bash
|
| 34 |
-
llama-cli -m vectrayx-vision-Q4_K_M.gguf -p "
|
| 35 |
```
|
| 36 |
|
| 37 |
### Transformers
|
|
@@ -47,67 +47,67 @@ model = AutoModelForImageTextToText.from_pretrained(
|
|
| 47 |
processor = AutoProcessor.from_pretrained("jsantillana/vectrayx-vision")
|
| 48 |
```
|
| 49 |
|
| 50 |
-
##
|
| 51 |
|
| 52 |
-
|
|
| 53 |
|---|---|
|
| 54 |
-
| Base | google/gemma-4-E4B-it |
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
| Fine-tuning | LoRA r=32, alpha=64, 3 epochs |
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
|
| 62 |
-
##
|
| 63 |
|
| 64 |
-
**99,175
|
| 65 |
|
| 66 |
-
| Split |
|
| 67 |
|---|---:|---|
|
| 68 |
-
| Vision QA | 76,655 |
|
| 69 |
-
| Nano SFT replay | 22,520 | Text-only cybersec ES —
|
| 70 |
|
| 71 |
-
###
|
| 72 |
|
| 73 |
-
|
|
| 74 |
|---|---:|
|
| 75 |
| offense (exploits, web, payloads) | 31,521 |
|
| 76 |
| re (reverse engineering, IDA, Ghidra) | 15,788 |
|
| 77 |
| soc (SIEM, logs, threat intel) | 15,303 |
|
| 78 |
| asm (x86/x64, NASM, kernel) | 5,730 |
|
| 79 |
-
|
|
| 80 |
-
| arch (RISC-V,
|
| 81 |
-
| icpc (Codeforces,
|
| 82 |
-
| latam (tech blogs
|
| 83 |
| debugging (x64dbg, WinDbg) | 927 |
|
| 84 |
-
| crypto (
|
| 85 |
|
| 86 |
-
|
| 87 |
|
| 88 |
## Benchmarks
|
| 89 |
|
| 90 |
-
|
| 91 |
|
| 92 |
-
| Benchmark | Score |
|
| 93 |
|---|---|---|
|
| 94 |
-
| B1 CVE-QA | **0.820** |
|
| 95 |
-
| B2 Classification | **0.420** |
|
| 96 |
-
| B3 Commands | **0.590** |
|
| 97 |
-
| B4 Tool-use | **0.553** |
|
| 98 |
-
| B5
|
| 99 |
-
| LATAM | **0.947** |
|
| 100 |
|
| 101 |
-
##
|
| 102 |
|
| 103 |
-
|
|
| 104 |
|---|---|---|
|
| 105 |
-
| `model-0000{1-4}-of-00004.safetensors` | ~
|
| 106 |
-
| `vectrayx-vision-Q4_K_M.gguf` | 5.
|
| 107 |
|
| 108 |
-
##
|
| 109 |
|
| 110 |
-
VectraYX
|
| 111 |
|
| 112 |
-
- [VectraYX Nano](https://huggingface.co/jsantillana/vectrayx-nano) —
|
| 113 |
-
- **VectraYX Vision** —
|
|
|
|
| 18 |
|
| 19 |
# VectraYX Vision
|
| 20 |
|
| 21 |
+
VectraYX Vision is a Vision-Language Model (VLM) for **technical cybersecurity in Spanish**, fine-tuned from Gemma 4 E4B-it using LoRA on a 99k-example multimodal corpus.
|
| 22 |
|
| 23 |
+
## Quick Start
|
| 24 |
|
| 25 |
### Ollama
|
| 26 |
```bash
|
|
|
|
| 28 |
```
|
| 29 |
|
| 30 |
### llama.cpp / LM Studio
|
| 31 |
+
Download `vectrayx-vision-Q4_K_M.gguf` from this repo (~5.3 GB).
|
| 32 |
|
| 33 |
```bash
|
| 34 |
+
llama-cli -m vectrayx-vision-Q4_K_M.gguf -p "Analyze this CVE: CVE-2024-1234" -n 512
|
| 35 |
```
|
| 36 |
|
| 37 |
### Transformers
|
|
|
|
| 47 |
processor = AutoProcessor.from_pretrained("jsantillana/vectrayx-vision")
|
| 48 |
```
|
| 49 |
|
| 50 |
+
## Model Details
|
| 51 |
|
| 52 |
+
| Field | Value |
|
| 53 |
|---|---|
|
| 54 |
+
| Base model | google/gemma-4-E4B-it |
|
| 55 |
+
| Architecture | Gemma4ForConditionalGeneration |
|
| 56 |
+
| Parameters | ~4B |
|
| 57 |
+
| Context length | 131,072 tokens |
|
| 58 |
| Fine-tuning | LoRA r=32, alpha=64, 3 epochs |
|
| 59 |
+
| Languages | Spanish (LATAM), English |
|
| 60 |
+
| Modalities | Text + Vision |
|
| 61 |
|
| 62 |
+
## Training Data
|
| 63 |
|
| 64 |
+
**99,175 training records** in `{messages, image_path}` format:
|
| 65 |
|
| 66 |
+
| Split | Records | Description |
|
| 67 |
|---|---:|---|
|
| 68 |
+
| Vision QA | 76,655 | (synthetic PIL image, question/answer) pairs across 10 domains |
|
| 69 |
+
| Nano SFT replay | 22,520 | Text-only cybersec ES — prevents catastrophic forgetting |
|
| 70 |
|
| 71 |
+
### Vision QA Domains
|
| 72 |
|
| 73 |
+
| Domain | Records |
|
| 74 |
|---|---:|
|
| 75 |
| offense (exploits, web, payloads) | 31,521 |
|
| 76 |
| re (reverse engineering, IDA, Ghidra) | 15,788 |
|
| 77 |
| soc (SIEM, logs, threat intel) | 15,303 |
|
| 78 |
| asm (x86/x64, NASM, kernel) | 5,730 |
|
| 79 |
+
| forensics (Volatility, DFIR) | 2,254 |
|
| 80 |
+
| arch (RISC-V, computer architecture) | 1,973 |
|
| 81 |
+
| icpc (Codeforces, algorithms) | 1,302 |
|
| 82 |
+
| latam (ES tech blogs, OWASP) | 1,264 |
|
| 83 |
| debugging (x64dbg, WinDbg) | 927 |
|
| 84 |
+
| crypto (applied cryptography) | 593 |
|
| 85 |
|
| 86 |
+
Images are synthetic PIL renders (not real screenshots) using 19 templates: `ida_disasm`, `ghidra_decomp`, `gdb_session`, `siem_dashboard`, `wireshark_packets`, `cve_card`, `terminal_ansi`, and more.
|
| 87 |
|
| 88 |
## Benchmarks
|
| 89 |
|
| 90 |
+
Evaluated with the VectraYX-Vision harness (SageMaker ml.g5.xlarge):
|
| 91 |
|
| 92 |
+
| Benchmark | Score | Description |
|
| 93 |
|---|---|---|
|
| 94 |
+
| B1 CVE-QA | **0.820** | CVE analysis in Spanish |
|
| 95 |
+
| B2 Classification | **0.420** | Threat classification |
|
| 96 |
+
| B3 Commands | **0.590** | Technical command generation |
|
| 97 |
+
| B4 Tool-use | **0.553** | Native function calling |
|
| 98 |
+
| B5 Conversational ES | **1.000** | Spanish conversational fluency |
|
| 99 |
+
| LATAM | **0.947** | Regional LATAM Spanish (slang, acronyms, code-switching) |
|
| 100 |
|
| 101 |
+
## Files
|
| 102 |
|
| 103 |
+
| File | Size | Description |
|
| 104 |
|---|---|---|
|
| 105 |
+
| `model-0000{1-4}-of-00004.safetensors` | ~15 GB total | Full bf16 weights |
|
| 106 |
+
| `vectrayx-vision-Q4_K_M.gguf` | 5.3 GB | Q4_K_M quantized for local inference |
|
| 107 |
|
| 108 |
+
## About VectraYX
|
| 109 |
|
| 110 |
+
VectraYX is an open-weights model family optimized for Latin American Spanish, focused on technical cybersecurity and threat analysis.
|
| 111 |
|
| 112 |
+
- [VectraYX Nano](https://huggingface.co/jsantillana/vectrayx-nano) — 130M text model
|
| 113 |
+
- **VectraYX Vision** — this model (4B, multimodal)
|