Professional Documents
Culture Documents
Top p sampling (sometimes called nucleus sampling) is a technique used to sample possible outcomes
of the model.
Top P controls how many random results the model should consider for completion, as suggested by
Before we continue, be aware that GPT-3 does not like input strings that end in a space, as this causes weird and
sometimes unpredictable behaviors. You may have the inclination to add a space after the last word of your input,
so keep in mind that this can cause problems. The Playground will show you a warning if by mistake you leave one
or more spaces at the end of your input.
Feel free to try different values of temperature to see how GPT-3 becomes more or less creative with its responses.
Once you are ready to continue, set the temperature back to 0 and rerun the original Python is request.