Repository Contents
This repository includes both full-precision merged weights and a quantized GGUF build for local inference:
Table with columns: File, Format / Purpose| File | Format / Purpose |
|---|
model.safetensors | Merged bfloat16 weights (Qwen3_5ForConditionalGeneration) |
config.json, generation_config.json | Model & generation configuration |
tokenizer.json, tokenizer_config.json, chat_template.jinja | Qwen3.5 tokenizer and ChatML template |
eldrade-qwen35-9b-pilot-Q4_K_M.gguf | 4-bit quantized GGUF (Q4_K_M) for llama.cpp / Ollama |
Modelfile | Ready-to-use Ollama Modelfile with recommended sampling & system prompt |
Intended Capabilities & Bilingual (TR / EN) Support
Eldrade focuses on technical offensive security and code/configuration auditing in isolated lab contexts, with native Turkish and English support:
- Turkish Cybersecurity Reasoning (
Türkçe Siber Güvenlik Muhakemesi): Performs full multi-hypothesis <think> analysis, technical root-cause explanations, and actionable remediation (**Tespit / Karar:**, **Müdahale / Düzeltme:**) natively in Turkish as well as English.
- Attack Surface & Path Modeling: Multi-step privilege escalation, lateral movement, and service misconfiguration analysis.
- Code Security Auditing: Root-cause analysis and remediation for IDOR, input validation flaws, SSRF, and race conditions.
- Telemetry & Log Triage: Correlating host, network, and cloud audit evidence while avoiding false positives on benign admin activity.
- Tool Discipline & Anti-Hallucination: Avoiding unnecessary tool calls on direct conceptual questions and refusing to fabricate unobserved facts.
Expected Output Structure
The model is prompted to reason inside <think> tags with at least three hypotheses and explicit evidence-based elimination before giving a final verdict:
<think>Hipotez 1 (Yüzeysel / Yanıltıcı Yorum): ... -> Elendi çünkü ...Hipotez 2 (Alternatif Teknik İhtimal): ... -> Elendi çünkü ...Hipotez 3 (Doğrulanmış Kök Neden): ... -> Kanıtlarla doğrulandı.</think> **Tespit / Karar:** ...**Müdahale / Düzeltme:** ...
Quickstart
1. Ollama (using included GGUF & Modelfile)
Download eldrade-qwen35-9b-pilot-Q4_K_M.gguf and Modelfile, then create and run the model locally:
huggingface-cli download Adel9st/Eldrade-Qwen3.5-9B-v1-pilot \ eldrade-qwen35-9b-pilot-Q4_K_M.gguf Modelfile --local-dir ./eldrade-pilot cd eldrade-pilotollama create eldrade-pilot -f Modelfileollama run eldrade-pilot
Default sampling parameters from Modelfile:
temperature: 0.6
top_p: 0.95
top_k: 20
num_ctx: 8192
Recommended system prompt (Turkish):
Sen Moonbringer projesi kapsamında Burak Üstündağ tarafından geliştirilen Eldrade adlı siber güvenlik analiz modelisin. Tüm analizlerini en az 3 hipotez ve kanıta dayalı eleme ile <think> içinde yürütür, vaaz/uyarı metni olmadan doğrudan teknik tespit ve doğrulama adımı sunarsın.
Qwen/Qwen3.5-9B uses the hybrid Qwen3_5ForConditionalGeneration architecture (Gated DeltaNet + full attention). Use a recent transformers release (>= 5.x / Qwen3.5 support).
import torchfrom transformers import AutoModelForImageTextToText, AutoTokenizer model_id = "Adel9st/Eldrade-Qwen3.5-9B-v1-pilot"tokenizer = AutoTokenizer.from_pretrained(model_id)model = AutoModelForImageTextToText.from_pretrained( model_id, torch_dtype=torch.bfloat16, device_map="auto",) messages = [ { "role": "system", "content": ( "Sen Moonbringer projesi kapsamında Burak Üstündağ tarafından geliştirilen " "Eldrade adlı siber güvenlik analiz modelisin. Tüm analizlerini en az 3 hipotez " "ve kanıta dayalı eleme ile <think> içinde yürütür, vaaz/uyarı metni olmadan " "doğrudan teknik tespit ve doğrulama adımı sunarsın." ), }, { "role": "user", "content": "Bir Express.js uygulamasında `/api/orders/:id` endpoint'i sadece `authMiddleware` ile korunuyor. Kök neden ve düzeltme nedir?", },] text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)inputs = tokenizer(text, return_tensors="pt").to(model.device) with torch.no_grad(): outputs = model.generate( **inputs, max_new_tokens=1024, temperature=0.6, top_p=0.95, top_k=20, do_sample=True, ) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Training Summary
- Base Model:
Qwen/Qwen3.5-9B (bfloat16 LoRA; vision tower frozen for text-only reasoning)
- Pilot Run: 2 epochs (~1 hour) pilot training run
- Context Length:
8192 tokens
- Dataset Mix: Bilingual (TR/EN) curated cybersecurity reasoning traces (multi-hypothesis
<think> + backtracking), multi-turn agentic tool-calling trajectories, general coding replay, and identity/tone alignment pairs, filtered for synthetic RFC ranges (RFC 5737 / RFC 2606) and deduplicated via TF-IDF similarity.
Pilot Evaluation & Limitations
Evaluated locally on public security benchmarks and the Moonbringer v1-pilot behavioral suite (eldrade-qwen35-9b-pilot-Q4_K_M.gguf served via local OpenAI-compatible endpoint):
Public Security Benchmarks
Table with columns: Benchmark, Answered, Correct, Accuracy| Benchmark | Answered | Correct | Accuracy |
|---|
MMLU Computer Security (mmlu_computer_security) | 100 / 100 | 82 | 82.0% |
Pentesting Eval (pentesting_eval_50) | 50 / 50 | 44 | 88.0% |
Moonbringer Behavioral Suite
Table with columns: Behavioral Pillar, Passed, Score| Behavioral Pillar | Passed | Score |
|---|
Anti-Hallucination (anti_halluc) | 5 / 5 | 100.0% |
Benign Honesty (benign_honesty) | 5 / 6 | 83.3% |
Tool Discipline (tool_discipline) | 5 / 6 | 83.3% |
Identity & Concise Q&A (identity_qa) | 3 / 6 | 50.0% |
Deep Reasoning (deep_reasoning) | 2 / 5 | 40.0% |
| Overall Behavioral | 20 / 28 | 71.4% |
Known Pilot Limitations
- Deep Reasoning Consistency: On some complex prompts, the model may skip emitting all 3 explicit hypotheses or
<think> elimination markers (elendi_count < 2).
- Unnecessary Tool Calls on Simple Q&A: Occasionally attempts tool invocation on factual questions that can be answered directly.
- MCQ Formatting (
cyber_mcq): Scored 0/20 on strict automated MCQ extraction in this pilot run due to output formatting mismatch rather than pure knowledge.
Safety & Scope
This model is developed for authorized security auditing, vulnerability root-cause analysis, and educational/lab research. Training scenarios strictly use synthetic RFC test IP ranges (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24) and reserved domains (*.example.com, *.example.org). Do not use against systems without explicit authorization.