2025年2月3日 星期一

Planning: LLM vs. A* search

 Given 19, 36, 55, 7, can you give an equation that equals 622? inspired by source



直覺模式



May need several trials


LLM intuitive mode is not good at this.




Reasoning mode 推理模式

Claude in reasoning mode got it in seconds.








Code gen
Do A* search with Python code


change to JS









ChatGPT o1 did it in 41 sec. comparing to 0.001 s using A*



求解過程的動畫



參考: 黃品勛 A*
比老師的美





沒有留言:

張貼留言