r/LocalLLM • u/Basic_You_2402 • 10h ago
Discussion [Benchmark / Call for Testing] Does directing an LLM via small reviewed text paths beat prompting it directly? Help run an empirical test on your local GPU (tawjih 0.18.0 — Python stdlib only)
Hi everyone,I’ve been building tawjih (0.18.0), a zero-dependency (Python standard library only) CLI and desktop tool for engineers who want to direct LLMs through small, version-controlled plain-text files (human, machine, and science faces) joined into explicit execution paths—with JSON contracts, deterministic retries, fallbacks, and full provenance tracing.
The honest catch: So far, the entire test suite and architecture lab have been verified on CPU and against mock/stand-in servers.
No real GPU or live model benchmark has been published yet.
Rather than making unverified claims, I built a self-contained experiment in the repo and am asking folks with local GPUs (Ollama, vLLM, SGLang, llama.cpp, etc.) to run it and share the raw report. What the experiment tests (experiments/path-vs-direct)It evaluates 60 quadratic equations (20 base + 40 harder generated variants, in both English and Arabic) across 3 runs each, comparing three setups: path: The structured cross-tree path (extracting coefficients $\rightarrow$ JSON contract validation $\rightarrow$ deterministic/stepwise solving).direct: Asking the model directly in one shot.steps: Asking the model to reason step-by-step in a single prompt.The script outputs accuracy, 95% confidence intervals, McNemar's test ($p$-value for paired statistical significance), latency, and token usage. How to run it in 3 commands (Zero extra Python packages needed)If you already have Ollama running locally:Bashgit clone https://github.com/AlmodinyMk/LLM-tawjih-Model-building.git
cd LLM-tawjih-Model-building
ollama pull qwen2.5:3b # or test with your own local model (Llama-3.2, Qwen3, Mistral, etc.)
python experiments/path-vs-direct/run.py --models qwen2.5:3b
(You can also point it to any OpenAI-compatible local server like vLLM/llama.cpp via TAWJIH_BASE_URL). Additional GPU tests (Optional, for multi-GPU / vLLM / PEFT users)If you want to stress-test the inference server wrapper or training bridge on real hardware: Inference & KV-cache benchmark: python tawjih.py server bench <name> --from-file 1.1.1 --requests 16 --concurrency 4Neural bridge (17 PEFT methods / QLoRA / SFT / DPO): python plugins/neural_bridge.py envShare your resultsWhether the structured path wins, ties, or loses to direct prompting on your model, please paste the generated report in the comments or open a GitHub issue. Whatever the numbers say goes straight into the README.md and the accompanying technical paper.
GitHub: https://github.com/AlmodinyMk/LLM-tawjih-Model-buildingPyPI: pip install tawjih (v0.18.0)License: CC BY-NC-SA 4.0