← 返回文章 | Prompt Engineering for LLM Cot

微信公众号排版预览(手机宽度)

08-26 20:02 1 min read

Prompt Engineering for LLM Cot

Early notes on prompt engineering, instruction design, and how chain-of-thought can improve LLM reasoning workflows.

Some thoughts on Prompt Optimization and Instructional Design for LLM CoT:

F(Instruction) = P(Chain of Thought) # instruction and rules are designed for LLM CoT

F(CoT) = P(thinking | Instruction) # CoT is the chain of thought, the thinking process of the model

F(Cot) = F(thinking) = P(answer) # After sorted CoT process based on the instruction, the final answer is generated.

Instruction complexity will affect the LLM understand the task, concise one gets better performance.

Divide and conquer is also a good method to optimize the CoT and workflow. Chain of multiple tasks instead of one complex task might be a better idea. Supported by Chain complex prompts for stronger performance

Reference

TODO:

✅ 已复制!粘贴到公众号编辑器即可