The model acts as an automated Senior Application Security (AppSec) Auditor. It audits source code across 9 programming languages, identifies vulnerabilities, classifies severity and CWE IDs, and produces ready-to-merge secure code patches in structured JSON.
1from unsloth import FastLanguageModel
2
3# Load model and tokenizer from Hugging Face Hub
4model, tokenizer = FastLanguageModel.from_pretrained(
5 model_name = "elsiddik/finsec_detector",
6 max_seq_length = 1024,
7 load_in_4bit = True,
8)
9FastLanguageModel.for_inference(model)