跳到主内容
@wquguru
精选70Sequoia Capital(YouTube)产品与增长

后训练:如何将你的品味注入模型,构建持久业务

Post-Training Is How You Keep Your Taste | Fireworks CEO Lin Qiao

原文
发到 X

Okay, up next we have Lynn, uh close close friend and collaborator of Brendan's. Um Lynn, uh actually show of hands, who here who here does post training? Okay, good amount of the room. And who here uses Firework? Okay, good amount of the room, too. So, Lynn, you have you have some friendlies in the audience. Um and so for this next talk, what we're going to do is we're going to focus on post training. Um Lynn, si- similar setup to to Brendan's talk.

好的,接下来我们有Lynn,呃,Brendan的亲密朋友和合作者。嗯,Lynn,呃,实际上,举手示意一下,这里谁做后训练?好的,房间里有很多人。谁使用Firework?好的,也有很多人。所以,Lynn,你有一些友好的观众。嗯,对于接下来的演讲,我们要做的是专注于后训练。嗯,Lynn,和Brendan的演讲设置类似。

We're going to do 15 minutes on how to approach the problem of post training, um and then 15 minutes or so for Q&A. Uh and Lynn, really delighted to have you here. Thank you for joining us.

我们将用15分钟讨论如何处理后训练的问题,嗯,然后大约15分钟用于问答。呃,Lynn,非常高兴你来到这里。感谢你的到来。

Thanks for having me. Uh hi everyone, good morning. I'm Lynn, I'm CEO and co-founder of Firework. So, as we bring up the slide, today I'm going to do a little bit uh deep dive on post training and why post training could be very relevant to uh you building your own business. So, first of all, a little bit like prior, I think um this year we have seen So, first of all, I'm a Firework weather specializing intelligence platform.

谢谢邀请。呃,大家好,早上好。我是Lynn,我是Firework的首席执行官和联合创始人。所以,当我们展示幻灯片时,今天我将稍微深入探讨后训练,以及为什么后训练可能与你建立自己的业务非常相关。所以,首先,像之前一样,我认为今年我们已经看到了……所以,首先,我是Firework天气,专门从事智能平台。

There are tons and tons of application built on top of us, all the way from startups to digital native and enterprises. So, we get uh um the fun part of my job is we get to see a lot of patterns. Um what are the innovation people are uh building on top of us and uh and how they are what are challenges that are uh they're facing and what are trend um people being developers are um building on top of us. So, uh one of the things, especially in the past 1 year, software development and application development has been somewhat disrupted because it goes fine in the past, um you have good idea, you want to implement it, scaling production, it requires a team of tens of very strong product engineers, PMs working together, multiple quarters to deliver that.

有大量的应用程序构建在我们之上,从初创公司到数字原生企业和企业级客户。所以,我们得到了……我工作中有趣的部分是我们能看到很多模式。嗯,人们在我们的平台上构建的创新是什么,以及他们面临哪些挑战,以及开发者们在我们的平台上构建的趋势是什么。所以,特别是在过去一年里,软件开发和应用程序开发在某种程度上受到了颠覆,因为过去,嗯,你有一个好主意,你想实现它,扩展生产,这需要一个由数十名非常强大的产品工程师、项目经理组成的团队,共同工作多个季度才能交付。

And right now, with one person, a few weeks, uh without understanding how to write a single line of code, you can do that. So, that collapsing of resource required both in terms of timeline and deep expertise is shifting how how competitive the application space is, and it's shifting people from thinking about building on top of off-the-shelf off-the-shelf black box API to build a much deeper mode. So, that they can build a much durable business.

而现在,一个人,几周时间,呃,即使不懂如何编写一行代码,你也能做到。所以,所需资源在时间线和深度专业知识方面的压缩正在改变应用程序领域的竞争格局,并且正在将人们从思考基于现成的黑盒API构建,转向构建更深入的模式。这样,他们就能建立更持久的企业。

As also you have seen lot of discussion, especially in the past 1 week, between open model and the closed model and all the rallying and support across the open model. The depth of that that alliance is because we believe I mean the industry is much deeper because look at the whole entire industry, there are so many companies, right? There are so many company, all of you are building your own company. Every single company exists for a reason because they focus on solving a unique problem in a special way.

正如你所见,尤其是在过去一周里,关于开放模型和封闭模型之间有很多讨论,以及对开放模型的各种支持和声援。这种联盟的深度是因为我们相信,我的意思是,这个行业要深得多,因为看看整个行业,有那么多公司,对吧?有那么多公司,你们都在建立自己的公司。每家公司存在都有其理由,因为它们专注于以特殊方式解决独特的问题。

And that means they carry their own judgment, taste, and determination, conviction into that product, and that's why company exists. Today, if you build on top of off-the-shelf API, then you really need to think about how you keep that special taste judgment and unique part forward. And we believe one approach for every company to build a build durable business is to actually bake your judgment, taste, and customer deep understanding into the intelligence you build on top of instead of just a off-the-shelf API.

这意味着他们将自身的判断、品味、决心和信念融入产品中,这就是公司存在的原因。今天,如果你在现成的API之上构建,那么你真的需要考虑如何保持那种特殊的品味、判断和独特之处。我们相信,每家公司建立持久业务的一种方法,实际上是将你的判断、品味和对客户的深刻理解融入你构建的智能中,而不仅仅是使用现成的API。

So, that's kind of a little bit context of what's happening in industry, what we are seeing, and why post training could be very very relevant to you. Okay. So, you probably heard a lot about owning intelligence not rent. And what does owning your own intelligence mean? It actually means many things. So, first of all, it start from data. Intelligence is derivative of data. And obviously the the foundation labs, the all the foundation model we're using are building on top of the public data and the label data that is has solved common tasks, but all of you are solving a specific task.

所以,这就是行业正在发生的事情、我们所看到的,以及为什么后训练可能与你非常相关的一些背景。好的。你可能听说过很多关于“拥有智能而非租用”的说法。那么,拥有你自己的智能意味着什么?实际上它意味着很多事情。首先,它始于数据。智能是数据的衍生物。显然,基础实验室,我们使用的所有基础模型都是建立在公共数据和已解决常见任务的标注数据之上的,但你们都在解决特定的任务。

That's why you you're building a business, you're building a company, and be able to curate production data with high quality and even generate synthetic data to enrich your production data is one step of owning your own intelligence. And then after you have data, you will start to kind of use that data turn into a model, build on top of existing model and own the weights. And there are a collection of techniques you can use to get there.

这就是为什么你在创业,你在建立公司,并且能够策划高质量的生产数据,甚至生成合成数据来丰富你的生产数据,这是拥有自己智能的一步。然后,当你有了数据,你会开始利用这些数据转化为模型,在现有模型的基础上构建并拥有权重。有一系列技术可以帮助你实现这一目标。

Those techniques are tailored to solve different kind of problem you could possibly have. And those techniques can also interoperate with each other for you to build a reach your final goal. And then after you have a great model belong to yourself solving your specific problem really well, and then you need to work on serving it. You probably first will do a some AB testing to make sure it really move the needle for your product metrics, and then goes back in in this loop.

这些技术针对你可能遇到的不同类型的问题而定制。这些技术也可以相互配合,帮助你构建并达成最终目标。当你拥有一个属于自己的、能很好解决特定问题的优秀模型后,你需要着手进行服务部署。你可能首先会进行一些A/B测试,以确保它确实能推动你的产品指标,然后回到这个循环中。

Obviously, I don't think you should jump into post training right away. And and there are different phases you will go into. First, prompt everyone start from prompt, use the model as is. It's few shots. If quickly you can use that to test your ideas. And then you use rag to ground um, the usage of AI into your own data and you can start to do a lot of contest engineering from that. Those are from minutes of interaction to hours of interaction.

显然,我认为你不应该立即跳入后训练阶段。你会经历不同的阶段。首先,提示工程——每个人都从提示开始,直接使用模型。通过少量示例,你可以快速测试你的想法。然后,你使用RAG将AI的使用扎根于你自己的数据,并可以开始进行大量的上下文工程。这些从几分钟的交互到几小时的交互不等。

And then you first progress into hey, I have some data. I want to see how my data is going to reflect and make uh, the model work better with my product. So you will start to do supervised fine-tuning that will take you a few hours to um, hey, um, the the model I want to reflect in personalized taste. It is it is very unique uh, choice of my products. So so therefore you want to start to use preferences uh, information where you collect from user interaction and uh, whether thumbs-up, thumbs-down, a lot of those kind of information and uh, help the model learn your product taste.

然后你进一步进展到:嘿,我有一些数据。我想看看我的数据如何反映并让模型更好地适应我的产品。所以你会开始进行监督微调,这需要几个小时,让模型反映我的个性化品味。这是非常独特的产品选择。因此,你想开始使用从用户交互中收集的偏好信息,比如点赞、点踩等大量此类信息,帮助模型学习你的产品品味。

Um, and and finally, you want to build a model towards understand carrying your expertise in that domain. Whether that expertise is across uh, legal, finance, healthcare, customer support, recruiting, marketing, sales, you name it. Even in one industry vertical, there are so many subdomains. So all of that is unique and special towards the product you're building. So usually um, you probably heard a lot of reinforcement learning and that is to to actually build towards a specialty.

最后,你想构建一个模型,使其理解并承载你在该领域的专业知识。无论这些专业知识涉及法律、金融、医疗、客户支持、招聘、营销、销售等,不一而足。即使在一个行业垂直领域内,也有许多子领域。所有这些对于你正在构建的产品都是独特且特别的。所以通常,你可能听说过很多强化学习,那实际上是为了构建专业性。

Um, so this progression is very similar to how we human being learn knowledge over time. Uh, for example, uh, we actually run uh, learn a lot of knowledge by reading uh, reading literature, right? In the literature it will say, hey, what is correct, what is it not correct? So this is a very similar to supervised fine-tuning. Um, and uh, as we grow, we develop our own taste and judgment of how we want to conduct the specific way of we want to approach a problem, and that is preference or DPO.

这种进展与我们人类随时间学习知识的方式非常相似。例如,我们通过阅读文献来学习大量知识,对吧?文献中会说明什么是正确的,什么是不正确的。这非常类似于监督微调。随着我们的成长,我们发展出自己的品味和判断力,决定如何以特定方式处理问题,这就是偏好或DPO。

Um and over course of time, we learn to be a doing a really good job at certain area, whether um hey, I want to be accounting accountant, and I would really know how to kind of um build into the financial financial data, or I want to be a specific set of um I want to be a dentist, and you learn the details of how to operate um with dentistry. So, all this is very similar exactly um to how we human being acquire knowledges.

嗯,随着时间的推移,我们学会在某个领域做得很好,比如,嘿,我想成为一名会计师,我真的需要知道如何深入财务数据,或者我想成为一名牙医,你学习牙科操作的细节。所以,这一切与我们人类获取知识的方式非常相似。

So, um and also very interesting different techniques are there to solve different kind of problems. Um for example, if the model doesn't know um the fact, and the fact actually is very dynamic, the facts of your data is uh in in your product is very dynamic, and then typically you use rag to solve that problem. Um however, if your model output all the behavior uh or um or the structure is off, then you you give you curate data and do supervised fine-tuning to correct that.

所以,嗯,也有非常有趣的不同技术来解决不同类型的问题。嗯,例如,如果模型不知道某个事实,而事实实际上是非常动态的,你的产品中的数据是非常动态的,那么通常你使用RAG来解决这个问题。嗯,但是,如果你的模型输出的所有行为或结构都不对,那么你提供策划数据并进行监督微调来纠正它。

Um if your model's answer, the quality is is personal or kind of is specific to the taste of your product, um and then you use preference and tuning. Or the model is quite weak on the special problem you're trying to solve, then

嗯,如果你的模型答案的质量是个人的或特定于你产品的品味,那么你使用偏好调整。或者模型在你试图解决的特定问题上相当薄弱,那么

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近