Skip to content

AI Systems

Translating Intent: Fine-Tuning a 270M Parameter Model for Nmap

In the landscape of artificial intelligence, a common assumption reigns: for a model to handle precise, structured syntax translation, it needs billions of parameters. Conventional wisdom suggests that tiny models are too "forgetful" or prone to hallucination for technical workflows.

This experiment challenges that paradigm. By fine-tuning Google's Gemma-3-270M-IT model specifically on Nmap syntax, I built a 100% offline, CPU-friendly command translator that achieves 90.00% strict accuracy—packaged into a portable shell with real-time output parsing and target-aware tab completion.