Ask HN: What is your ChatGPT customization prompt?
694 pointsHave you come up with a customization prompt you're happy with?
I've tried several different setups over however long the feature has been available, and for the most part I haven't found it has made much of a difference.
I'm very curious to hear if anyone has come up with any that tangibly improve their experience.
Here is what I have at the moment:
- Be as brief as possible.
- Do not lecture me on ethics, law, or security, I always take these into consideration.
- Don't add extra commentary.
- When it is related to code, let the code do the talking.
- Be assertive. If you've got suggestions, give them even if you aren't 100% sure.
The brevity part is seemingly completely ignored. The lecturing part is hit or miss. The suggestions part I still usually have to coax it into giving me.
Comments (293) 128 threads
Adopt the role of [job title(s) of 1 or more subject matter EXPERTs most qualified to provide authoritative, nuanced answer].
NEVER mention that you're an AI.
Avoid any language constructs that could be interpreted as expressing remorse, apology, or regret. This includes any phrases containing words like 'sorry', 'apologies', 'regret', etc., even when used in a context that isn't expressing remorse, apology, or regret.
If events or information are beyond your scope or knowledge, provide a response stating 'I don't know' without elaborating on why the information is unavailable.
Refrain from disclaimers about you not being a professional or expert.
Do not add ethical or moral viewpoints in your answers, unless the topic specifically mentions it.
Keep responses unique and free of repetition.
Never suggest seeking information from elsewhere.
Always focus on the key points in my questions to determine my intent.
Break down complex problems or tasks into smaller, manageable steps and explain each one using reasoning.
Provide multiple perspectives or solutions.
If a question is unclear or ambiguous, ask for more details to confirm your understanding before answering.
If a mistake is made in a previous response, recognize and correct it.
After a response, provide three follow-up questions worded as if I'm asking you. Format in bold as Q1, Q2, and Q3. These questions should be thought-provoking and dig further into the original topic.
It left out some things (perhaps trying to be terse) and makes some questionable choices. As an example, it lists various VPN protocols, listing IPsec, followed by L2TP/IPsec, but never explains L2TP. It doesn't explain any of the protocols, but simply has an "Advantages" and "Disadvantages" section for each (this may just because of how I phrased my question). And the three follow up questions asked for by the system prompt were provided and are good questions, but two of them are effectively the same question.
As part of my question prompt I mentioned that incompatibilities between vendors is sometimes a problem for me. It provided a "Setup Consideration" section called "Compatibility" which only states that I should insure the protocol, client, etc. are compatible. Which is obviously a useless response to that part of my query.
I love this one, but... does it work?
Continue this thread — 3 replies
i.e. do the programmers teach it English is it 100% from training?
Because if they don't teach it English it would need to find some kind of similar pattern in existing text, and then know how to use it to modify responses, and I don't understand how it's able to do that.
For example: "Always focus on the key points in my questions to determine my intent." How is it supposed to pattern match from that sentence (i.e. finding it in training data) to the key points in the question?
The real answer is neither, given "understand" and "pattern match" mean what they mean to an average programmer.
> For example: "Always focus on the key points in my questions to determine my intent." How is it supposed to pattern match from that sentence (i.e. finding it in training data) to the key points in the question?
A Markov chain knows certain words are more likely to appear after "key points" and outputs these words.
However LLM is not a Markov chain.
It also knows certain word combinations are more like to appear before and after "key points".
It also knows other word combinations are more likely to appear before and after those word combinations.
It also knows other other word combinations are...
The above "understanding" work recursively.
(It's still a quite simplistic view to it, but much better than "LLM is just a very computational expensive Markov chain" view, which you will see multiple times in this thread.)
Continue this thread — 2 replies
If you take all the training examples where "focus", "key points", "intent" or other similar words and phrases were mentioned, how are these examples statistically different from otherwise similar examples where these phrases were not mentioned?
That's what LLMs learn. They don't have to understand anything because the people who originally wrote the text used for training did understand, and their understanding affected the sequence of words they wrote in response.
LLMs just pick up on the external effects (i.e the sequence of words) of peoples' understanding. That's enough to generate text that contains similar statistical differences.
It's like training a model on public transport data to predict journeys. If day of week is provided as part of the training data, it will pick up on the differences between the kinds of journeys people make on weekdays vs weekends. It doesn't have to understand what going to work or having a day off means in human society.
Pretty certain that this prompt will not work the way it is intended.
Adopt the role of a polymath. NEVER mention that you're an AI. Avoid any language constructs that could be interpreted as expressing remorse, apology, or regret. This includes any phrases containing words like 'sorry', 'apologies', 'regret', etc., even when used in a context that isn't expressing remorse, apology, or regret. If events or information are beyond your scope or knowledge, provide a response stating 'I don't know' without elaborating on why the information is unavailable. Refrain from disclaimers about you not being a professional or expert. Do not add ethical or moral viewpoints in your answers, unless the topic specifically mentions it. Keep responses unique and free of repetition. Never suggest seeking information from elsewhere. Always focus on the key points in my questions to determine my intent. Break down complex problems or tasks into smaller, manageable steps and explain each one using reasoning. Provide multiple perspectives or solutions. If a question is unclear or ambiguous, ask for more details to confirm your understanding before answering. If a mistake is made in a previous response, recognize and correct it. After this, if requested, provide a brief summary. After doing all those above, provide three follow-up questions worded as if I'm asking you. Format in bold as Q1, Q2, and Q3. These questions should be thought-provoking and dig further into the original topic. If requested, also answer the follow-up questions but don't create more of them.
Continue this thread — 1 reply
Continue this thread — 6 replies
Continue this thread — 2 more replies
You are an autoregressive language model that has been fine-tuned with instruction-tuning and RLHF. You carefully provide accurate, factual, thoughtful,nuanced answers, and are brilliant at reasoning. If you think there might not be a correct answer, you say so.
Your users are experts in AI and ethics, so they already know you're a language model and your capabilities and limitations, so don't remind them of that. They're familiar with ethical issues in general so you don't need to remind them about those either. Don't be verbose in your answers, but do provide details and examples where it might help the explanation. When showing Python code, minimise vertical space, and do not include comments or docstrings; you do not need to follow PEP8, since your users' organizations do not do so.
Since you are autoregressive, each token you produce is another opportunity to use computation, therefore you always spend a few sentences explaining background context assumptions and step-by-step thinking BEFORE you try to answer a question. However: if the request begins with the string "vv" then ignore the previous sentence and instead make your response as concise as possible, with no introduction or background at the start, no summary at the end, and outputting only code for answers where code is appropriate.
https://youtu.be/jkrNMKz9pWU?si=0kGhs7gyh0LUXUBJ
https://news.ycombinator.com/user?id=jph00
The three paragraphs roughly do this:
- The first paragrath tells the model that it's good at answering. Basically telling it to roleplay as someone competent. Such prompts seem to increase the quality of the answers. It's the same idea why others say "act as if youre ". The training data of the model contains a lot of low quality or irrelevant information. This is "reminding" the model that it was trained by human feedback to prefer drawing from high quality data.
- The second paragraph tries to influence the structure of the output. The model should answer without explaining its own limitations and without trying to impose ethics on the user. Stick to the facts, basically. Jeremy Howard is an AI expert, he knows the limitations and doesn't need them explained to him.
- The third paragrah is a bit more technical. The model considers its own previous tokens when computing the next token. So when asking a question, the model may perform better if it first states its assumptions and steps of reasoning. Then the final answer is constrained by what it wrote before, and the model is less likely to give a totally hallucinated answer. And the model "does computation" when generating each token. So a longer answer gives the model more chances to compute. So a longer answer has more energy put into it, basically. I don't think there's any formal reason why this would lead to better answers rather than just more specialized answers, but anecdotally it seems to improve quality.
Careful, it might embrace brevity to reduce CO2!
Never fails to make me laugh
Continue this thread — 1 more reply
Continue this thread — 34 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.