Instructions to use jsantillana/vectrayx-nano with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use jsantillana/vectrayx-nano with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="jsantillana/vectrayx-nano", filename="vectrayx-nano-f16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use jsantillana/vectrayx-nano with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf jsantillana/vectrayx-nano:F16 # Run inference directly in the terminal: llama-cli -hf jsantillana/vectrayx-nano:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf jsantillana/vectrayx-nano:F16 # Run inference directly in the terminal: llama-cli -hf jsantillana/vectrayx-nano:F16
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-nano:F16 # Run inference directly in the terminal: ./llama-cli -hf jsantillana/vectrayx-nano:F16
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-nano:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf jsantillana/vectrayx-nano:F16
Use Docker
docker model run hf.co/jsantillana/vectrayx-nano:F16
- LM Studio
- Jan
- vLLM
How to use jsantillana/vectrayx-nano with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jsantillana/vectrayx-nano" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jsantillana/vectrayx-nano", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jsantillana/vectrayx-nano:F16
- Ollama
How to use jsantillana/vectrayx-nano with Ollama:
ollama run hf.co/jsantillana/vectrayx-nano:F16
- Unsloth Studio new
How to use jsantillana/vectrayx-nano with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for jsantillana/vectrayx-nano to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for jsantillana/vectrayx-nano to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jsantillana/vectrayx-nano to start chatting
- Docker Model Runner
How to use jsantillana/vectrayx-nano with Docker Model Runner:
docker model run hf.co/jsantillana/vectrayx-nano:F16
- Lemonade
How to use jsantillana/vectrayx-nano with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jsantillana/vectrayx-nano:F16
Run and chat with the model
lemonade run user.vectrayx-nano-F16
List all available models
lemonade list
Add pipeline tag and links to paper and code
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
language:
|
| 3 |
- es
|
| 4 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
- cybersecurity
|
| 7 |
- spanish
|
|
@@ -9,17 +15,14 @@ tags:
|
|
| 9 |
- mcp
|
| 10 |
- curriculum-learning
|
| 11 |
- from-scratch
|
| 12 |
-
datasets:
|
| 13 |
-
- vectrayx/vectrayx-bench
|
| 14 |
-
metrics:
|
| 15 |
-
- accuracy
|
| 16 |
-
- f1
|
| 17 |
---
|
| 18 |
|
| 19 |
# VectraYX-Nano
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Key Results (VectraYX-Bench)
|
| 25 |
|
|
@@ -40,10 +43,9 @@ Base 260M achieves B4=0.580.
|
|
| 40 |
|
| 41 |
## Usage
|
| 42 |
|
| 43 |
-
|
| 44 |
-
# Load with custom inference script
|
| 45 |
-
# See: https://huggingface.co/vectrayx/vectrayx-paper-code
|
| 46 |
|
|
|
|
| 47 |
from huggingface_hub import hf_hub_download
|
| 48 |
import torch
|
| 49 |
|
|
@@ -63,4 +65,4 @@ config_path = hf_hub_download("vectrayx/vectrayx-nano", "configs/nano.json")
|
|
| 63 |
booktitle = {Preprint},
|
| 64 |
year = {2026}
|
| 65 |
}
|
| 66 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
datasets:
|
| 3 |
+
- vectrayx/vectrayx-bench
|
| 4 |
language:
|
| 5 |
- es
|
| 6 |
license: apache-2.0
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
tags:
|
| 12 |
- cybersecurity
|
| 13 |
- spanish
|
|
|
|
| 15 |
- mcp
|
| 16 |
- curriculum-learning
|
| 17 |
- from-scratch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# VectraYX-Nano
|
| 21 |
|
| 22 |
+
VectraYX-Nano is a 42M-parameter Spanish cybersecurity language model trained from scratch with curriculum learning and native Model Context Protocol (MCP) tool use.
|
| 23 |
+
|
| 24 |
+
- **Paper:** [VectraYX-Nano: A 42M-Parameter Spanish Cybersecurity Language Model with Curriculum Learning and Native Tool Use](https://huggingface.co/papers/2605.13989)
|
| 25 |
+
- **Repository:** [vectrayx/vectrayx-nano-paper](https://github.com/vectrayx/vectrayx-nano-paper)
|
| 26 |
|
| 27 |
## Key Results (VectraYX-Bench)
|
| 28 |
|
|
|
|
| 43 |
|
| 44 |
## Usage
|
| 45 |
|
| 46 |
+
To use this model, please refer to the custom inference scripts provided in the official [GitHub repository](https://github.com/vectrayx/vectrayx-nano-paper).
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
```python
|
| 49 |
from huggingface_hub import hf_hub_download
|
| 50 |
import torch
|
| 51 |
|
|
|
|
| 65 |
booktitle = {Preprint},
|
| 66 |
year = {2026}
|
| 67 |
}
|
| 68 |
+
```
|