Replies: 1 comment
|
A row-to-row context prompt is the wrong tool for this. Data Designer generates rows independently, so an LLM prompt cannot enforce a dataset-wide quota. Your current rules also do not describe a 0.10% fraud rate. They make For an expected rate of 0.10%, make the label a sampler rather than an LLM judgment: config_builder.add_column(
SamplerColumnConfig(
name="is_fraud",
sampler_type=SamplerType.BERNOULLI,
params=BernoulliSamplerParams(p=0.001),
)
)Then reference Bernoulli sampling gives 0.10% in expectation, not an exact count. If you need exactly |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I'm working on designing a synthetic transaction dataset and struggling with how to set the fraud rate to only 0.10% across the dataset. I think the solution is how I implement context-prompting so the models can learn from the previous row.
All reactions