Sort of — there’s a technique called prompt tuning where you optimize an internal state that the prompt is internally transformed into, adjusting empirically based on examples. It can’t be used with GPT-3 though because the model is behind an API. (Sorry for double post — typos)
Explaining Prompt Tuning Technique and GPT-3 API Limitations
By
–