技巧

Hamel Husain 分享合成数据生成方法:先组合场景再生成查询

精选理由

Hamel Husain 讲了个实用的合成数据技巧:先列场景组合再生成查询,比直接让模型瞎编靠谱多了。

Hamel Husain 在 X 上回答了如何生成合成数据的问题。他给出的方法分两步:先定义需要测试的请求类型,生成这些细节的组合,再将其转化为具体查询。最后把查询跑一遍应用程序来完成数据生成。

原文 · Hamel Husain

Q: What is the best approach for generating synthetic data?

A: Define the kinds of requests you need to test. Generate combinations of those details first, then turn them into queries and run them through your application.

https://t.co/qFnSZQcT5M https://t.co/qS3T6t800N