Downloads · 30 days
17
24% of all-time downloads
rohangupta1808/semantic-drift-severity-qwen2.5-coder-3b
semantic-drift-severity-qwen2.5-coder-3b is a text generation model from rohangupta1808. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A fine-tuned Qwen2.5-Coder-3B-Instruct model that assesses the security severity of a Terraform Infrastructure-as-Code change. Given a before / after configuration pair, it returns a severity level (Critical / High /…
Downloads · 30 days
17
24% of all-time downloads
All-time downloads
70
Public
Repo size
1.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.9 GB · 100%
From the Hugging Face model README
A fine-tuned Qwen2.5-Coder-3B-Instruct model that assesses the security severity of a
Terraform Infrastructure-as-Code change. Given a before / after configuration pair, it returns
a severity level (Critical / High / Medium / Low), a 0–10 risk score, the governing security
policy, and a CWE identifier.
This file is the Q4_K_M GGUF build (~1.8 GB) for local inference via Ollama or llama.cpp.
Existing tooling detects that infrastructure drifted from its declared configuration, but not how dangerous the change is. This model adds that judgement so practitioners can prioritise.
Qwen/Qwen2.5-Coder-3B-InstructThis GGUF is the first fine-tuned iteration: macro-F1 0.347, accuracy 0.50. A later, larger dataset iteration raised accuracy to 0.78 on the same test set (see the project repository).
ollama create semantic-drift -f Modelfile
ollama run semantic-drift
./llama-cli -m semantic-drift-q4.gguf -p "<your prompt>"
Full code, datasets, evaluation and documentation: https://github.com/RohanGupta1808/rohan18-Semantic_project
Apache 2.0, inherited from the base model (Qwen2.5-Coder-3B-Instruct).