Improving Bash Generation in Small Language Models with Grammar-Constrained Decoding | NVIDIA Technical Blog
…This points toward learned or policy-refined grammars. Instead of accepting the entire legal command space, a learned grammar can encode the subset where a given model is reliable, plus hard safety…