Downloads · 30 days
31
10% of all-time downloads
antoniostepien/peer-ai-reviewer
peer-ai-reviewer is a text generation model from antoniostepien. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
AI-powered code security reviewer fine-tuned on security vulnerability patterns.
Downloads · 30 days
31
10% of all-time downloads
All-time downloads
308
Public
Repo size
986 MB
Likes
0
Public
Click a slice to open those files.
.gguf986 MB · 100%
From the Hugging Face model README
AI-powered code security reviewer fine-tuned on security vulnerability patterns.
Peer-AI is a Qwen2.5-Coder-1.5B model fine-tuned with LoRA for code security review tasks. It can identify common security vulnerabilities including:
# Create model
ollama create peer-ai -f Modelfile
# Review code
curl -s http://localhost:11434/api/generate -d '{
"model": "peer-ai",
"prompt": "Review the following python code...",
"stream": false
}'
pip install peer-ai
git diff | peer-ai review -
peer-ai review src/main.py
{
"line": 2,
"severity": "high",
"category": "security",
"rule": "CWE-78",
"title": "Command injection vulnerability",
"message": "User input passed to shell command.",
"suggestion": "Use subprocess with shell=False."
}
Apache 2.0