How to use from
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 thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf thodsapon/qwen3.5-9b-fenrir-data-security: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 thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf thodsapon/qwen3.5-9b-fenrir-data-security: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 thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
Use Docker
docker model run hf.co/thodsapon/qwen3.5-9b-fenrir-data-security:Q4_K_M
Quick Links

Qwen3.5 9B Fenrir Data Security - GGUF Q4/Q6

GGUF exports of a Qwen3.5 9B model fine-tuned for defensive cybersecurity and data-security tasks.

Dataset reference used for fine-tuning: https://huggingface.co/datasets/AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1

Files

File Size SHA256
fenrir-qwen3.5-9b-final-adapter-Q4_K_M.gguf 5.63 GB ec1331aa7efe5299f3fded0175707b4d8c3341b81d8f63a1e094a4e7123733b7
fenrir-qwen3.5-9b-final-adapter-Q6_K.gguf 7.36 GB 789df5ef6ea3581eb0551d7d88ce22c62ce88bfd2be0aaf6f5b55e278480d114

Use

llama-cli -m fenrir-qwen3.5-9b-final-adapter-Q4_K_M.gguf \
  -p "Explain a defensive threat model for a file upload feature." \
  -n 512

Colab notebook for testing both Q4 and Q6: fenrir_qwen35_gguf_q4_q6_colab.ipynb

For serving, use a Qwen-compatible chat template and tune context length, GPU layers, batch size, and sampling for your hardware.

Fine-Tune Setup

Item Value
Base local Qwen3.5 9B checkpoint
Dataset Cybersecurity-Dataset-Fenrir-v2.1
Rows after filtering 99,403
Split 97,403 train / 1,000 eval / 1,000 validation / 1,000 test
Method non-thinking SFT, response-only loss
Max sequence length 4,096
Epochs / steps 2.0 / 12,176
Effective batch 16
LR / scheduler 2e-4 / linear
LoRA r=32, alpha=32, dropout=0.0
Target modules q/k/v/o/gate/up/down projections

Results

Metric Value
Train loss 0.04125
Eval loss 0.74160
Test loss 2.38501

Local evaluation summary:

Evaluation Base Fine-tuned Note
General cyber prompts, n=20 87.5/100 78.0/100 Base was stronger on concise general answers.
Held-out Fenrir rows, n=12 47.7/60 50.6/60 Fine-tuned model aligned better with Fenrir-style content.

GGUF Notes

  • Architecture: qwen35
  • Quantization: Q4_K_M, Q6_K
  • Context metadata: 262,144
  • Exported with llama.cpp --no-mtp

Scope

Intended for defensive cybersecurity, data-security analysis, hardening guidance, and security-control explanation. This is a quantized GGUF artifact only, not the original LoRA adapter or full training checkpoint. Run your own safety and task-specific tests before production use.

Downloads last month
10
GGUF
Model size
9B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train thodsapon/qwen3.5-9b-fenrir-data-security