Hacker News new | ask | show | jobs
by potatoman22 607 days ago
Depending on what sort of constraints you need on your output, a custom token sampler, logit bias, or verifying it against a grammar could do the trick.