How to combine `thinking on/off` prompt with existing system prompt.

#8
by michaelfeil - opened

Whats a good system prompt format for which youe hav trained the model with

thinking = "on" # or "off"
# option 1:
[{"role": "system", "content": f"detailed thinking {thinking}. You are an expert in math."}, {"role": "user", "content": "Solve x*(sin(x)+2)=0"}]))
# option 2:
[{"role": "system", "content": f"detailed thinking {thinking}"}, {"role": "system", "content": f"You are an expert in math."}, {"role": "user", "content": "Solve x*(sin(x)+2)=0"}]))

Best
michaelfeil

option 1 is better than option 2 but it was not trained with system prompts other than detailed thinking on/off, so it might be better to do:

[{"role": "system", "content": f"detailed thinking {thinking}."}, {"role": "user", "content": "You are an expert in math. Solve x*(sin(x)+2)=0"}]))

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment