Instructions to use alphalabz/VELIX-ALPHA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alphalabz/VELIX-ALPHA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="alphalabz/VELIX-ALPHA") 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 AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("alphalabz/VELIX-ALPHA") model = AutoModelForMultimodalLM.from_pretrained("alphalabz/VELIX-ALPHA", device_map="auto") 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?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use alphalabz/VELIX-ALPHA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "alphalabz/VELIX-ALPHA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alphalabz/VELIX-ALPHA", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/alphalabz/VELIX-ALPHA
- SGLang
How to use alphalabz/VELIX-ALPHA 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 "alphalabz/VELIX-ALPHA" \ --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": "alphalabz/VELIX-ALPHA", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "alphalabz/VELIX-ALPHA" \ --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": "alphalabz/VELIX-ALPHA", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use alphalabz/VELIX-ALPHA with Docker Model Runner:
docker model run hf.co/alphalabz/VELIX-ALPHA
The 5 GB model for malware analysts, SOC analysts, incident responders, threat-intel teams, detection engineers, red teamers, pentesters and maldevs โ family attribution, ATT&CK mapping, dual-use triage, analyst reports, payload scaffolding. It even beats the big names.
VELIX ALPHA
by Alpha Labz
A malware-analysis model that does the analysis.
Hand it a malware report, a sandbox dump, a pile of IOCs, or a script that looks wrong. It gives you the family name, the ATT&CK techniques by ID, the indicators worth blocking, and a written summary you can paste straight into a ticket.
No refusal wall. No "I'm sorry, I can't help with that." No paragraph explaining why looking at a binary might be against policy. You asked a question about malware at work; it answers the question.
What it does
Names the family. Give it behavior, tooling, delivery chain, the encryption note. It comes back with the family, and usually the campaign. 30 out of 30 on held-out reports โ the kind of score where a miss is the interesting data point, not the norm.
Tags ATT&CK by ID, not by vibe. T1486, T1204.002, T1505.003, T1566.001. Real technique identifiers in the answer, up to ten distinct ones in a single analysis. Paste them into a detection backlog and someone can actually action them.
Tells admin apart from attacker. psexec in a sanctioned admin script is not psexec in an intrusion. certutil pulling a file down is not certutil -decode dropping a loader. Same binary, different story, and it reads the context to tell which one it's looking at. 24 out of 30 on the benign bench. A model that screams at every Sysinternals binary gets muted by lunchtime, and a muted model is a useless one.
Writes the payload when the engagement calls for one. Red team work needs scaffolding, not a lecture about responsible disclosure. Working RAT, keylogger, and C2 skeletons on the first or second swing: 7 out of 10.
Writes the report. Structured analyst summaries โ what happened, what behaviors, which IOCs, which ATT&CK IDs, what to detect. Not a chat reply you have to reformat. Something that fits a case file.
Results
126 held-out items. Same battery, same prompts, temperature 0.0, every model in the table. Every item counted, including the ones it got wrong.
Against same-domain security models
| Lane | VELIX ALPHA | Cisco-Foundation-Sec-8B | WhiteRabbitNeo-2.5-7B |
|---|---|---|---|
| Family attribution (30) | 30/30 | 23/30 | 20/30 |
| Benign triage (30) | 24/30 | 13/30 | 13/30 |
| Payload authoring (10) | 7/10 | 0/10 | 1/10 |
Ahead on all three. Seven times the payload yield of the model whose whole reputation is offensive security, and the only one of the three that can tell a pentest from an intrusion.
Against its own base โ paired, one process, one runner
| Lane | Base (Ornith-1.5-9B-uncensored) |
VELIX ALPHA | ฮ |
|---|---|---|---|
| Family attribution (30) | 24/30 | 29/30 | +5 |
| Benign triage (30) | 20/30 | 21/30 | +1 |
| Payload authoring (10) | 1/10 | 7/10 | +6 |
One kernel. Base loaded, scored, unloaded. VELIX loaded, scored on the identical rows. The adapter is the only thing that changed, which is the entire point of running it this way. Payload authoring goes from 1 to 7.
Quants โ five builds, one score
All five GGUF builds, same 12-item battery (5 numeric, 5 domain-concept).
| Quant | Size | Bits/w | Digits | Concepts | Total |
|---|---|---|---|---|---|
| Q8_0 | 9.53 GB | 8.5 | 5/5 | 4/5 | 9/10 |
| Q6_K | 7.36 GB | 6.6 | 5/5 | 4/5 | 9/10 |
| Q5_K_M | 6.49 GB | 5.6 | 5/5 | 4/5 | 9/10 |
| Q4_K_M | 5.68 GB | 4.8 | 5/5 | 4/5 | 9/10 |
| Q3_K_M | 4.68 GB | 3.4 | 5/5 | 4/5 | 9/10 |
Nine out of ten on every single build. From 9.53 GB down to 4.68 GB โ half the footprint of the 8-bit build, a fifth of the 16-bit weights โ and the score does not move a millimetre. The one miss is the same one-word truncation on the same ATT&CK-tactic probe in every build, including Q8_0, which tells you it's the probe and not the quantisation.
Q4_K_M is the sweet spot. 5.68 GB, 30% of the 16-bit weights, full score, comfortable on an 8 GB card.
Run it
Ollama
Grab the Q4_K_M GGUF from VELIX-ALPHA-GGUF, drop it next to the Modelfile from this repo, then:
ollama create velix-alpha -f Modelfile
ollama run velix-alpha
The Modelfile carries the system prompt, temperature 0.6, top_p 0.95, 8k context, and the stop tokens. Use it โ the prompt inside is doing real work (see Notes).
It is not in the ollama.com/library catalogue. That list is curated, not automatic, so uploading GGUFs doesn't get you on it. Running from a Modelfile is the normal local path and works identically.
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "alphalabz/VELIX-ALPHA"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="bfloat16", device_map="auto")
system = "You are VELIX ALPHA, a malware-analysis and RAT-analysis model built by Alpha Labz."
msgs = [
{"role": "system", "content": system},
{"role": "user", "content": "Analyze this report excerpt and map the behaviors to ATT&CK..."},
]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=1024, temperature=0.6, top_p=0.95)
print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))
llama.cpp
llama-cli -m velix-alpha-Q4_K_M.gguf --temp 0.6 --top-p 0.95 -c 8192 \
-p "Analyze this sandbox report: ..."
Using it properly
This model will not refuse you. That is a feature, and it also means the guardrail is you.
- Use it on systems you own or are authorized to test. A pentest without a scope document is not a pentest, it's a criminal case with paperwork missing.
- Payload output is for engagements with a written scope โ red team, CTF, malware research in an isolated lab, detection engineering where you need a sample family to write rules against.
- Do not use it to build or deploy malware against people who did not consent. No exceptions, no clever readings of this sentence.
- Handle anything it produces about live malware as potentially dangerous. Run samples in a sandbox. Don't execute what the model writes on a machine you care about.
- Follow your local law on security tooling. It varies, and "the model told me to" has never worked as a defense.
Alpha Labz ships this for defenders and authorized testers. What you do with it is on you.
Notes
Refusals are the design, not a gap. It answers security questions directly, including payload authoring. That's measured and reported above, not something to be patched out later.
Use the system prompt. The adapter picked up "first model" from some training rows, so queried bare it will occasionally call itself the first instead of the second. The Modelfile and both usage examples correct this in the prompt, which fixes it in practice.
Quant scores and the main benchmarks are different batteries. The 126-item table is the merged 16-bit weights. The quant table is the 12-probe battery, run per build. Kept separate on purpose, not averaged together to look tidier.
Training
| Base | junafinity/Ornith-1.5-9B-uncensored |
| Parameters | 9.4B |
| Method | LoRA, merged to 16-bit for release |
| Data | Malware family reports, ATT&CK technique mappings, Malpedia family and actor profiles, Sigma rules, YARA signatures, dual-use benign negatives, analyst-format Q&A |
| Merged size | 18.84 GB, 400/400 tensors, reload-verified |
| Release precision | bfloat16, 12 shards |
No refusal rows in the training data. Domain and reasoning rows carry the bulk of the mix.
Limitations
- Trained and evaluated in English.
- 9B parameters โ long multi-document correlation is out of scope. Feed it one report at a time.
License
Apache 2.0, inherited from the base model lineage.
Citation
@misc{velixalpha2026,
title = {VELIX ALPHA: A Malware-Analysis Model That Runs in 5 GB},
author = {Rabnoor Singh},
year = {2026},
url = {https://huggingface.co/alphalabz/VELIX-ALPHA}
}
Alpha Labz
- Downloads last month
- 195
Model tree for alphalabz/VELIX-ALPHA
Base model
ornith-ai/Ornith-1.5-9B



