YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
CWE-Code_Vulnerability_Security_DPO
This dataset adds a cwe_ids field to each row in
CyberNative/Code_Vulnerability_Security_DPO by querying an LLM
with the row's vulnerability description and rejected code sample.
How the CWE IDs were obtained
- Model: gpt-5-mini via the OpenAI Responses API
- Reasoning: low effort
- Tooling:
web_searchlimited tocwe.mitre.org - Prompt format:
Given the following description of a CWE and a code segment that replicates it:
Description: {desc}
Code: {vuln_code}
What's the most likely CWE ID associated with this vulnerability? Answer in the following format:
## Answer:
CWE-#: CWE Name
- Parsing: lines starting with
CWE-are extracted and the numeric ID is retained.
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support