Downloads · 30 days
10
23% of all-time downloads
noman-asif/CVE-Analyst-Ministral-3B-Adapters-Merged
CVE-Analyst-Ministral-3B-Adapters-Merged is a machine learning model from noman-asif. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Fine-tuned mistralai/Ministral-3-3B-Instruct-2512-BF16 on the AlicanKiraz0/All-CVE-Records-Training-Dataset dataset using QLoRA, then merged into a standalone BF16 model.
Downloads · 30 days
10
23% of all-time downloads
All-time downloads
43
Public
Parameters
3.8B
7.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.7 GB · 100%
From the Hugging Face model README
Fine-tuned mistralai/Ministral-3-3B-Instruct-2512-BF16 on the AlicanKiraz0/All-CVE-Records-Training-Dataset dataset using QLoRA, then merged into a standalone BF16 model.
This is the merged version with LoRA adapter weights baked into the base model. No adapter loading needed -- use it like any standard model. For the lightweight adapter-only version, see noman-asif/CVE-Analyst-Ministral-3B-QLoRA.
This model is specialised for CVE vulnerability analysis -- given a vulnerability identifier and context, it produces structured technical analyses including exploitation vectors, impact assessment, and remediation strategies.
| Property | Value |
|---|---|
| Base model | mistralai/Ministral-3-3B-Instruct-2512-BF16 |
| Method | QLoRA (merged) |
| LoRA rank | 16 |
| LoRA alpha | 32 |
| Training epochs | 3 |
| Learning rate | 0.0002 |
| Effective batch size | 12 |
| Max sequence length | 4096 |
Dataset: AlicanKiraz0/All-CVE-Records-Training-Dataset
Attribution: Dataset created by AlicanKiraz0.
License: Apache 2.0
Sample size: 10000 rows (filtered to fit within 4096 tokens).
| Split | Count |
|---|---|
| train | 8000 |
| val | 1000 |
| test | 1000 |
| Metric | Original | Fine-tuned |
|---|---|---|
| bleu | 4.53 | 32.87 |
| rouge1 | 19.8 | 34.33 |
| rouge2 | 4.39 | 21.38 |
| rougeL | 10.77 | 30.71 |
| perplexity | 5.11 | 2.01 |
| Metric | Original | Fine-tuned |
|---|---|---|
| precision | 79.37 | 100.0 |
| recall | 92.59 | 92.59 |
| f1 | 85.47 | 96.15 |
from transformers import Mistral3ForConditionalGeneration, MistralCommonBackend
# Load merged model and tokenizer
model = Mistral3ForConditionalGeneration.from_pretrained(
"noman-asif/CVE-Analyst-Ministral-3B-Adapters-Merged",
torch_dtype="auto",
device_map="auto",
)
tokenizer = MistralCommonBackend.from_pretrained(
"noman-asif/CVE-Analyst-Ministral-3B-Adapters-Merged"
)
# Generate
messages = [{"role": "user", "content": "Provide a comprehensive technical analysis of CVE-2024-1234."}]
inputs = tokenizer.apply_chat_template(messages, return_dict=True, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(**inputs.to(model.device), max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model is released under the Apache 2.0 License.