cod5-agent2: Qwen/Qwen2.5-Coder-7B-Instruct fine-tuned su DiverseVul

Modello base: Qwen/Qwen2.5-Coder-7B-Instruct (licenza ereditata).

Macro-categoria: cod5 -- Concorrenza e Controllo Accessi

CWE target:

  • CWE-200 (Information Exposure)
  • CWE-284 (Access Control)
  • CWE-362 (Race Condition)

Ruolo nell'ensemble

  • Agente A2 del trittico cod5.
  • Peso nel voto pesato: 0.3.
  • Checkpoint di origine: best.

Formato di output

Una singola riga in italiano:

verdetto: VULN, cwe: CWE-XXX
verdetto: SAFE, cwe: N/A

Inferenza consigliata

  • Precisione: BF16 + Flash Attention 2.
  • Decoding: greedy (do_sample=False, repetition_penalty=1.05).
  • max_new_tokens=24, force_prefix="verdetto:".

Smoke test (post-merge, 20 sample)

Metrica Valore
Parse success rate 1.000
Accuracy binaria 0.600
Recall VULNERABLE 0.400
Recall SAFE 0.800
F1 macro 0.600
CWE accuracy@1 (sui VULN ground truth) 0.100
Sample falliti (parse o errore) 0/20

Le metriche sono indicative su 20 sample stratificati (10 SAFE + 10 VULN) estratti deterministicamente (seed=42) dal test set data/test/cod5. Per metriche complete riferirsi al run di evaluation su test set held-out completo.

Pipeline di inferenza

Questo modello e' uno dei 12 agenti dell'ensemble multi-modello vuln-detect-ensemble. Viene caricato dal model_registry in coppia con gli altri 2 agenti del trittico cod5 (max 1 trittico residente in VRAM per volta).

Downloads last month
34
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support