Why Telling an LLM to Be Careful Doesn't Work: Penalty Prompts Had a 0% Abstention Rate
Ten reproducible experiments on Gemma 2, 3 and 4 with Ollama. Code included. Every developer working with Large Language Models has tried some variation of this prompt: "Answer the question. If you are not completely sure, say 'I don't know'. Do not guess.