Skip to content

dessertlab/Software-Exploits-with-Contextual-Information

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reading between the Lines: Context-Aware AI-based Generation of Software Exploits

Overview of the Methodology

This repository contains the dataset employed for the experimental evaluation of the nine DL models, including:

  • 3 Fine-tuned encoder-decoder models

    • CodeBERT
    • CodeT5+
    • PLBart
  • 3 Fine-tuned decoder-only models

    • CodeGen
    • CodeGPT
    • CodeParrot
  • 3 Zero-shot prompted, instruction-tuned LLMs

    • DeepSeek-Coder-6.7b
    • Qwen2.5-Coder-7b
    • StableCode-3b

The repository also contains the script designed to run inference using the 3 instruction-tuned LLMs. We adopted the 4-bit quantized version of these model, prompting them via the llama-cli interface.

Setup

  1. To run inference, you need llama-cli installed and properly configured.
  2. Ensure you have the required model files, e.g, deepseek-coder-6.7b-instruct.Q4_K_M.gguf.
  3. Adjust the script configuration:
    • Uncomment the desired model configuration block in the script.
    • Update the MODEL_PATH, NGL, and MAX_TOKENS variables as needed.

Usage

Run the script from the command line:

python run_inference.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages