技巧精选73°

François Chollet:我已不手写代码,只指挥 LRM 工作

精选理由

Keras 作者 Chollet 说自己已经不写代码了,靠给推理模型下指令加上测试、审计、可视化来掌控系统,思路很具体,程序员可以参考他的做法。

Keras 作者、前 Google 工程师 François Chollet 发推称自己如今不再读写代码,而是通过指示 LRM(大型推理模型)完成开发工作。他强调这样做不是因为模型代码质量完美,而是 LRM 提供了测试代码库、审计组件、生成可视化、要求模型 red team 等新的理解方式,效率与读代码相当且速度远超从前。他得出结论:手写代码的 ROI 已不再划算,围绕 LRM 速度优势构建的新工作流比旧工作流更有产出。

原文 · François Chollet

I don't read/write code these days, I only instruct an LRM. But it's not because I think LRM code quality is perfect, or even good. And it's not because I think my instructions are always being perfectly acted upon -- I know they aren't.

The thing is: LRMs don't just write your code, they unlock new ways to control what you're doing and maintain understanding of your system, which are about as effective as reading code. You can better test your codebase, you can audit specific components, you can spin up visualizations, you can ask the LRM to red team, etc. You can do all of these things at high speed -- you couldn't before. The benefits of reading/writing code can now be achieved in new ways.

All in all, the ROI of writing code by hand is no longer looking good, not because LRMs got perfect but because they're so fast at doing things that you can develop new workflows around them, workflows that end up being more productive than the old workflows.