Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.5.1
metadata
title: Nimo's Coder Agent v3
emoji: 🔒
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
Nimo's Coder Agent v3 - Security Enhanced
A fine-tuned LLM for code generation and security vulnerability detection.
What's New in v3
- Security vulnerability detection - Identifies command injection, SQL injection
- Trained on 25k+ examples - CodeAlpaca + Security DPO + CrossVul datasets
- 81% token accuracy - Improved from 77% in v2
Try It
- Paste vulnerable code in the "Code to Review" box
- Ask "Is this code safe?" or "Review this code for security vulnerabilities"
- Get security analysis and suggestions
Example
Input:
import os
user_input = input("Enter filename: ")
os.system(f"cat {user_input}")
Ask: "Is this code safe?"
v3 Response: Detects command injection vulnerability and suggests secure alternative.
Links
Training
- Base Model: Qwen2.5-Coder-0.5B-Instruct
- Method: QLoRA (4-bit quantization + LoRA)
- Training Time: 2.8 hours on Google Colab T4 GPU
- Datasets: CodeAlpaca-20k, Security DPO, CrossVul