Amplification Revisited

Subquestions and so much more

Now that we’ve seen that language models can do many things besides just answer questions directly—

—let’s revisit our recursive question-answerer. Instead of either directly answering the question or asking more subquestions, let’s also provide the ability of doing any of the steps above.

While we’re at it, let’s take the opportunity to switch from asking subquestions in parallel to asking them sequentially, so that later subquestions can depend on the results of earlier subquestions.

This is a good opportunity to use subrecipes—we’d like to turn our work from earlier chapters into generalizable components.

Exercise

Implement generalized amplification as outlined above.

Hint: This is a fairly small tweak to iterative action selection.

Get feedback on exercise solutions

If you want feedback on your exercise solutions, submit them through this form. We—the team at Ought—are happy to give our quick take on whether you missed any interesting ideas.

Last updated