nlcli-wizard

Plain English to CLI flags with a small fine-tuned model running offline

Image 1 of 1: Terminal translating plain-English requests into docker logs and docker stop commands

A pipeline that gives a Python CLI a -w flag taking plain English: generates training data from a flag grammar, audits it for leakage against held-out prompts, fine-tunes a QLoRA adapter on a small Gemma base, and ships a 4-bit GGUF that llama.cpp runs on the CPU. Docker is the worked example.

  • 62.9%Held-out accuracy
  • 19.0%8-shot baseline
  • 1.85 sAnswer time, laptop CPU

Trade-offs

  • Local-only means no GPU and no network at answer time, which forces a small model and makes the dataset and evaluation the hard part rather than the model.
  • One adapter per tool keeps each file small over a shared base, but composition still fails: two flags in one command land at 50% and three or more at 17%.

Q&A3

A contamination audit across four channels runs before training and stops the run on any leak, splits go by target command rather than by row, and every run ships its per-generation records so the numbers replay with no GPU.

Reviews

Loading reviews

    More in Fine-tuning

    See all 7 →
    • MLX LoRA StudioNative Mac app for LLM fine-tuning on Apple Silicon
    • AGmind-MLRussian models fine-tuned on one GPU for a self-hosted RAG stack on AMD
    • VibeVoiceFusionMulti-speaker voice generation, transcription and LoRA training on a home GPU
    • canifinetuneGPU memory planner for LoRA and QLoRA fine-tunes on one consumer card
    • MelixLocal model workspace for Apple Silicon: serve, fine-tune, benchmark, evaluate
    • TuneKitColab notebook generator for fine-tuning small language models

    More in CLI tools

    See all 74 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • haxMinimalist terminal coding agent written in C

    More in Local inference

    See all 43 →
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • AlzeoOne-command installer that turns a DGX Spark or GB10 box into an AI server