j4n4
Vex-35B-A3B-CyberAgent
A 35B mixture-of-experts (about 3B active) model by j4n4 that uses tools such as web search, can think before answering and reads images.
Tools Thinking Vision- Downloads
- 37,675 downloads last month
- Likes
- 6 likes
- Uploaded
- Uploaded 3 Dec 2026
Overview
From j4n4/Vex-35B-A3B-CyberAgent- Parameters
- 35,107,181,936 (35.1B)
- Context length
- 262,144 tokens
- Architecture
- qwen35moe
- Task
- text-generation
- Licence
- apache-2.0
- Released
- 1 Dec 2026
- Last updated
- 1 Dec 2026
This is bartowski's upload of j4n4/Vex-35B-A3B-CyberAgent, which is based on InternScience/Agents-A1, j4n4/Huihui-Agents-A1-abliterated.
Languages listed in the model card
- English
Tools
Uses tools, so web search and the browser work best with it.
Thinking
Can think step by step before it answers.
Vision
Reads images: photos, screenshots, scanned pages.
Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.
| Version | File size | File | SHA-256 |
|---|---|---|---|
| IQ2_XXS | 10.79 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ2_XXS.gguf | |
| IQ2_XS | 11.27 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ2_XS.gguf | |
| IQ2_S | 11.98 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ2_S.gguf | |
| IQ2_M | 13.23 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ2_M.gguf | |
| Q2_K | 13.84 GB | j4n4_Vex-35B-A3B-CyberAgent-Q2_K.gguf | |
| IQ3_XXS | 15.58 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ3_XXS.gguf | |
| IQ3_XS | 16.32 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ3_XS.gguf | |
| Q3_K_S | 16.32 GB | j4n4_Vex-35B-A3B-CyberAgent-Q3_K_S.gguf |
Show all 25 versionsHide the other versions
| Version | File size | File | SHA-256 |
|---|---|---|---|
| Q3_K_M | 17.34 GB | j4n4_Vex-35B-A3B-CyberAgent-Q3_K_M.gguf | |
| Q3_K_L | 18.27 GB | j4n4_Vex-35B-A3B-CyberAgent-Q3_K_L.gguf | |
| IQ3_M | 18.96 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ3_M.gguf | |
| IQ4_XS | 19.89 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ4_XS.gguf | |
| Q4_0 | 19.94 GB | j4n4_Vex-35B-A3B-CyberAgent-Q4_0.gguf | |
| Q4_K_S | 20.95 GB | j4n4_Vex-35B-A3B-CyberAgent-Q4_K_S.gguf | |
| Q4_1 | 21.97 GB | j4n4_Vex-35B-A3B-CyberAgent-Q4_1.gguf | |
| IQ4_NL | 22.32 GB | j4n4_Vex-35B-A3B-CyberAgent-IQ4_NL.gguf | |
| Q4_K_M | 22.32 GB | j4n4_Vex-35B-A3B-CyberAgent-Q4_K_M.gguf | |
| Q4_K_L | 24.11 GB | j4n4_Vex-35B-A3B-CyberAgent-Q4_K_L.gguf | |
| Q5_K_S | 25.14 GB | j4n4_Vex-35B-A3B-CyberAgent-Q5_K_S.gguf | |
| Q5_K_M | 26.98 GB | j4n4_Vex-35B-A3B-CyberAgent-Q5_K_M.gguf | |
| Q6_K_S | 29.37 GB | j4n4_Vex-35B-A3B-CyberAgent-Q6_K_S.gguf | |
| Q6_K | 30.74 GB | j4n4_Vex-35B-A3B-CyberAgent-Q6_K.gguf | |
| Q6_K_L | 32.30 GB | j4n4_Vex-35B-A3B-CyberAgent-Q6_K_L.gguf | |
| Q8_0 | 36.91 GB | j4n4_Vex-35B-A3B-CyberAgent-Q8_0.gguf | |
| BF16 | 69.38 GB | j4n4_Vex-35B-A3B-CyberAgent-bf16-00001-of-00002.gguf+1 parts | Per part |
Vision add-on (needed to read images): mmproj-j4n4_Vex-35B-A3B-CyberAgent-f16.gguf, 899.3 MB
Architecture
From config.json in j4n4/Vex-35B-A3B-CyberAgent- Model class
- Qwen3_5MoeForConditionalGeneration
- Model type
- qwen3_5_moe_text
- Layers
- 40
- Hidden size
- 2048
- Attention heads
- 16
- Key/value heads
- 2
- Experts
- 256 (8 used per token)
- Vocabulary
- 248,320
- Context length
- 262,144 tokens
- Weights
- bfloat16
- Vision encoder
- Included (vision_config)
Papers and data
From j4n4/Vex-35B-A3B-CyberAgentDatasets listed in the model card
Vex-35B-A3B-CyberAgent
Vex-35B-A3B-CyberAgent is a 35.1B-total / 3B-active Mixture-of-Experts (MoE) autonomous cybersecurity & tool-calling agent model fine-tuned in full BF16 LoRA from j4n4/Huihui-Agents-A1-abliterated (verified mirror of huihui-ai/Huihui-Agents-A1-abliterated, abliterated from InternScience/Agents-A1 — Qwen3_5MoeForConditionalGeneration, 256 routed experts with top-8 routing, 40 hybrid GatedDeltaNet linear + full attention layers, 262K native context).
As the high-speed MoE sibling to j4n4/Nyx-27B-CyberAgent (27.4B dense), Vex-35B-A3B-CyberAgent combines Agents-A1's frontier long-horizon agentic foundation (GAIA 96.0 / IFEval 94.8) with 105,426 curated, refusal-filtered cybersecurity & tool-calling conversations (~71.80M tokens) — delivering ~5× faster local inference (~48–53 tok/s on Apple M1 Max 64 GB) for real-time autonomous pentesting and security auditing loops.
Model Family & Variants
| Repository | Format | Disk Size | M1 Max 64 GB Speed | Recommended Hardware |
|---|---|---|---|---|
j4n4/Vex-35B-A3B-CyberAgent (this repo) | Transformers BF16 (merged) | 65.42 GB | — | 80–96 GB GPU (A100/H100/RTX PRO 6000) / vLLM / SGLang |
j4n4/Vex-35B-A3B-CyberAgent-MLX-bf16 | MLX BF16 lossless (733 tensors) | 64.56 GiB | Requires 96 GB+ RAM | Apple Silicon 96–192 GB+ / Custom MLX Quantization |
j4n4/Vex-35B-A3B-CyberAgent-MLX-OptiQ-8bit | MLX OptiQ Mixed 8/16-bit (9.08 bpw, 329×16b + 182×8b) | 37.5 GB | 47.7 – 49.4 tok/s (39.5 GB RAM) | Apple Silicon 64 GB+ (Highest Fidelity Mac Build) |
j4n4/Vex-35B-A3B-CyberAgent-MLX-OptiQ-6bit | MLX OptiQ Mixed 6/8/16-bit (7.16 bpw, 291×16b + 38×8b + 182×6b) | 29.6 GB | 52.4 – 53.2 tok/s (31.2 GB RAM) | Apple Silicon 48–64 GB (Fastest Daily-Driver Mac Build) |
Training Recipe
Curated Dataset Composition (~71.80M Training Tokens, Plan B Full 3-in-1)
All datasets were deduplicated, scrubbed of canned safety refusals (891 refusal samples removed) and failed agent runs, and re-rendered natively with InternScience/Agents-A1's chat_template.jinja + XML <tool_call><function=...><parameter=...> schema (enable_thinking=False):
| Source Dataset | Kept Samples | Tokens | Curation Notes |
|---|---|---|---|
Vyber07/cyber-security | 98,980 | 62.40M | Offensive/defensive security Q&A, CVE/exploit analysis, code auditing, blue-team detection; 885 refusals filtered |
NousResearch/hermes-function-calling-v1 | 8,260 | 8.94M | Converted to native qwen3_coder XML <tool_call> format; acts as tool-calling anchor |
cx-cmu/agent_trajectories | 397 | 1.89M | swebench, terminalbench, mcpbench — passing trajectories only (reward >= 1.0 / >= 5.0); 2,523 failed runs removed |
Train / Val Split (max_seq_len=8192) | 105,426 / 2,152 | 71.80M train | 98% / 2% split, sequence-packed to 8,772 zero-waste rows |
Hyperparameters & Convergence
- Hardware & Framework: NVIDIA RTX PRO 6000 Blackwell (96 GB VRAM),
Unsloth 2026.11.13+TRL 1.15.0+Transformers 5.17.0+PyTorch 2.14.1+cu130 - Method: Full BF16 LoRA (
load_in_4bit=False, avoiding 4-bit quantization discrepancy onqwen3_5_moeGatedDeltaNet + sparse MoE layers),r=16,lora_alpha=16,lora_dropout=0, 931.1M trainable parameters (2.58% of 36.04B), merged back losslessly to 16-bit BF16 - Loss Masking:
train_on_responses_only(<|im_start|>user\n→<|im_start|>assistant\n) - Schedule: 1 full epoch, 8,772 packed steps,
max_seq_length=8192, cosine LR6e-5with 5% warmup (adamw_8bit), Peak VRAM80.7 GiB,1.01–1.02 s/it
Monotonic validation eval_loss across all 18 / 18 checkpoints (zero overfitting):
| Step | 500 | 1000 | 1500 | 2000 | 2500 | 3000 | 3500 | 4000 | 4500 |
|---|---|---|---|---|---|---|---|---|---|
| Val Loss | 0.8223 | 0.7816 | 0.7613 | 0.7474 | 0.7371 | 0.7289 | 0.7225 | 0.7146 | 0.7104 |
| Step | 5000 | 5500 | 6000 | 6500 | 7000 | 7500 | 8000 | 8500 | 8772 (1.0 ep) |
|---|---|---|---|---|---|---|---|---|---|
| Val Loss | 0.7060 | 0.7017 | 0.6984 | 0.6960 | 0.6939 | 0.6924 | 0.6921 | 0.6918 | 0.6917 |
Local Verification & Benchmarks (Apple M1 Max 64 GB, MLX)
Measured locally via mlx-lm 0.32.2 (enable_thinking=False, greedy temp=0.0):
| Variant | Disk Size | Effective BPW | Load Time | Prompt Speed | Generation Speed | Peak RAM | Security Audit | Native <tool_call> |
|---|---|---|---|---|---|---|---|---|
OptiQ-8bit (329×16b + 182×8b) | 37.5 GB | 9.078 | 8.77 s | 271.94 tok/s | 47.65 – 49.40 tok/s | 39.49 GB | 6 / 6 (100%) | 7 / 8 (87.5%) |
OptiQ-6bit (291×16b + 38×8b + 182×6b) | 29.6 GB | 7.163 | 5.55 s | 248.66 tok/s | 52.41 – 53.19 tok/s | 31.20 GB | 6 / 6 (100%) | 7 / 8 (87.5%) |
Ref: Nyx-27B-CyberAgent (OptiQ-8bit Dense) | 31.6 GB | 9.850 | 6.78 s | 70.44 tok/s | 9.92 – 10.31 tok/s | 33.44 GB | 6 / 6 (100%) | 8 / 8 (100%) |
Evaluation Breakdown (temp=0.0, identical across OptiQ-8bit & OptiQ-6bit)
- Zero-Refusal Offensive & Defensive Security Auditing (
6 / 6 = 100%):- Concrete technical payloads + remediation/detection rules with zero safety refusals across: UNION SQLi + PHP PDO remediation, AWS IMDSv1 SSRF IP encoding bypasses (
2852039166,0xa9fea9fe, IPv6-mapped) + IMDSv2 hardening, Flask CWE-78 command injection PoC + hardenedsubprocess, x86-64 NXret2libc/ROP chain (pop rdi; ret, 16-byte stack alignment,pwntools), Active Directory Kerberoasting (GetUserSPNs.py,hashcat, Event ID 4769, gMSA), and Linux/dev/tcpreverse shell FD breakdown + Sigma detection rule.
- Concrete technical payloads + remediation/detection rules with zero safety refusals across: UNION SQLi + PHP PDO remediation, AWS IMDSv1 SSRF IP encoding bypasses (
- Native XML
<tool_call>Evaluation (7 / 8 = 87.5%):- 7 / 7 (100%) exact function & parameter match across all single-turn security tools (
run_nmap,query_cve,read_source_file,check_iocIP & domain,execute_shell) plus negative control (0% false tool invocation on conceptual questions). - On the 1 multi-turn follow-up test under greedy
enable_thinking=False, the model correctly parsed the tool output and stated its next action before stopping; in agent harnesses, instructing direct tool emission or enabling reasoning mode resolves multi-turn chaining cleanly.
- 7 / 7 (100%) exact function & parameter match across all single-turn security tools (
Quickstart (vLLM / SGLang / transformers)
vLLM (with native XML tool calling)
vllm serve j4n4/Vex-35B-A3B-CyberAgent \
--port 8000 \
--max-model-len 131072 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder
Transformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "j4n4/Vex-35B-A3B-CyberAgent"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are Vex-35B-A3B-CyberAgent, an autonomous cybersecurity auditing agent."},
{"role": "user", "content": "Audit a Flask route running subprocess.check_output(f'ping -c 1 {host}', shell=True). Provide a PoC payload and hardened fix."},
]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
Responsible & Authorized Use
Released under Apache-2.0 for authorized penetration testing, red/blue team exercises, vulnerability research, CTF competitions, incident response, and security education. Users are solely responsible for ensuring all usage complies with applicable laws and written authorization scopes.
On Hugging Face
Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.