zlacker

[parent] [thread] 0 comments
1. cadams+(OP)[view] [source] 2025-05-15 00:28:40
It'd be great to forbid comments eg. using some of the techniques pioneered by Outlines, Instructor et al.

For now I'll do it with some examples in my context priming prompt, like:

Do not emit comments. Instead of this:

    # frobnicate a fyzzit
    def frobnicate_fyzzit(self):
        """
        This function frobnicates a fyzzit.
        """

        # Get the fyzzit to frobnicate.
        fyzzit = ...
        ...
Do this:

    def frobnicate_fyzzit(self):
        fyzzit = ...
        ...
[go to top]