Quick and Candy: Enhancing LLM Efficiency with Constrained Chain-of-Thought | by Salvatore Raieli | Aug, 2024

|LLM|PROMPT ENGINEERING|COT|REASONING|

Typically few phrases are sufficient: lowering output size for growing accuracy

enhanced LLM reasoning technique
picture created by the writer utilizing AI

Brevity is a good allure of eloquence. — Marcus Tullius Cicero

Brevity and conciseness are the dad and mom of correction. — Hosea Ballou

Massive language fashions (LLMs) have proven fascinating capabilities within the subject of reasoning. With their use, a brand new subject of utility has emerged: immediate engineering. In reality, interplay with these fashions happens by means of using prompts, and for that reason, methods have been developed to enhance these capabilities of LLMs.

One of the crucial intriguing methods is chain-of-thought (CoT) prompting; this system will increase correctness in reasoning issues and explains how the mannequin arrives on the answer (or what reasoning errors it…