Paul Graham:更抽象的语言让LLM代码生成更省token

1. Your token costs when using LLMs to generate code should be lower in a more abstract language. 2...

精选理由

Paul Graham说,想让LLM写代码更省token,就换更抽象的语言,连前缀表示法它也不怕。

AI 摘要

Paul Graham在X上发帖(17238次查看)称,用更抽象的语言编写代码能降低LLM生成时的token成本。他认为LLM并不排斥前缀表示法,这也是抽象语言值得尝试的原因(该帖有35条评论)。这条推文获得161个赞、6次转发和42次分享。

原文 · Paul Graham

1. Your token costs when using LLMs to generate code should be lower in a more abstract language. 2...

1. Your token costs when using LLMs to generate code should be lower in a more abstract language. 2. LLMs aren't afraid of prefix notation. I'm just saying... 💬 35 🔄 6 ❤️ 161 👀 17238 📊 42 ⚡

Paul Graham:更抽象的语言让LLM代码生成更省token · AI 热点