What is the best stop token between demonstration for the codex model?

Currently I am using adhoc stop_token i.e. “##########”

    temperature=0,
    max_tokens=1000,
    top_p=1,
    n=1,
    frequency_penalty=0,
    presence_penalty=0,
    stop='##########\n'

What is the best stop token for the codex api?

1 Like

‘####’ is absolutely fine, but it doesnt always work if you haven’t hinted that usage before