EdgeGuard Cypher Qwen3-4B v0.10 graph-intent (GGUF)
EdgeGuard translates an analyst's question about cyber-threat intelligence into a read-only Cypher query over the EdgeGuard knowledge graph (Neo4j, built from MISP). EdgeGuard is developed by IICT-BAS and Ratio1 in the ResilMesh Open Call.
Status: The model of the ResilMesh Open Call Stage 2 report (July 2026); served on EdgeGuard until October 2026.
Model
- Base model:
Qwen/Qwen3-4B-Instruct-2507(revisioncdbee75f17c01a7cc42f958dc650907174af0554, Apache-2.0) - Training: QLoRA continuation of v0.9 (rank 64, 3 epochs, 540 steps).
- Training data: qwen-prompt-cypher-v0.10-graph-intent-coverage: 2,868 training and 360 validation rows: the 1,920 v0.9 training rows plus 948 new hand-written, live-validated ones. A 2,500-row sample is public:
ratio1/edgeguard-text-to-cypher-v0.10-sample. - Output: One read-only Cypher query that returns the graph objects the question is about.
- Quantization:
Q4_K_M, SHA2567f7ed0f4d3341d36204d17343a07e3b6d99ec135a4ce67da66ad09b8eba2a91b
Evaluation
| Measure | Result |
|---|---|
| Held-out phrasing set (127): expected labels covered | 96.1% (v0.9: 79.5%) |
| Held-out phrasing set (127): expected relationships covered | 85.8% (v0.9: 78.0%) |
| Sealed benchmark, 500 questions: result F1 | 0.601 (base Qwen3-4B: 0.010) |
| Sealed benchmark: exact match / accepted queries executed | 41.2% / 96.8% |
| Sealed benchmark: result F1 on 360 original / 140 analyst-style questions | 0.807 / 0.090 |
Intended use
Writing read-only Cypher queries for the EdgeGuard graph schema of its time, run behind the EdgeGuard schema and read-only validator (the guard). Research and evaluation of small text-to-Cypher models.
Do not run its output against a database without a read-only validator. Do not use it as a source of threat intelligence: it writes queries, it does not know facts.
Limitations
- Bound to the EdgeGuard graph schema it was trained on; later schema changes (for example October 2026) are not reflected.
- Answers come only from the graph; the model does not check that a query's result is complete.
- Weak on analyst-style wording it was not trained on (F1 0.090 on that part of the benchmark).
Files
edgeguard-cypher-qwen3-4b-v0.10-graph-intent.Q4_K_M.ggufartifact_manifest.json: hashes, sizes and training settings
Usage
Send the question as a single user message, with no system prompt; the reply is one Cypher query.
llama-server -m edgeguard-cypher-qwen3-4b-v0.10-graph-intent.Q4_K_M.gguf -c 4096
curl -s localhost:8080/v1/chat/completions -d '{"messages":[{"role":"user","content":"Which CVEs does CISA list as known exploited?"}],"temperature":0,"max_tokens":256}'
EdgeGuard edge nodes load it through LLM_INFERENCE_API with MODEL_NAME=ratio1/edgeguard-cypher-qwen3-4b-v0.10-graph-intent-gguf and
MODEL_FILENAME=edgeguard-cypher-qwen3-4b-v0.10-graph-intent.Q4_K_M.gguf.
Other versions
Versions v0.2, v0.3, v0.5.0–v0.5.2, v0.5.4–v0.5.9 and v0.7 were trained but their weights were not kept; only the versions on the Hub remain. Later versions (v0.11 and newer) are not public.