3 ms·
My trick for this has been one-shot training + regex. I tell the model to produce executable code within triple backticks suffixed by a keyword, like: ```keywo
by soulofmischief 3y ago
My trick for this has been one-shot training + regex. I tell the model to produce executable code within triple backticks suffixed by a keyword, like:
```keyword
// code
```
and then I just ignore anything outside of those blocks.