Fix typo in the CAI critique prompt (#6123)

Very small typo in the Constitutional AI critique default prompt. The
negation "If there is *no* material critique of ..." is used two times,
should be used only on the first one.

Cheers,
Pierre
pull/6287/head^2
Pierre Dulac 1 year ago committed by GitHub
parent 38057f0d2e
commit 395a2a3724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,7 +60,7 @@ CRITIQUE_PROMPT = FewShotPromptTemplate(
examples=[
{k: v for k, v in e.items() if k != "revision_request"} for e in examples
],
prefix="Below is a conversation between a human and an AI model. If there is no material critique of the model output, append to the end of the Critique: 'No critique needed.' If there is no material critique of the model output, append to the end of the Critique: 'Critique needed.'",
prefix="Below is a conversation between a human and an AI model. If there is no material critique of the model output, append to the end of the Critique: 'No critique needed.' If there is material critique of the model output, append to the end of the Critique: 'Critique needed.'",
suffix="""Human: {input_prompt}
Model: {output_from_model}

Loading…
Cancel
Save