Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step by step prompting and colons in prompts #390

Merged
merged 3 commits into from
Nov 26, 2023
Merged

Conversation

MeDott29
Copy link
Contributor

there appears to be, at least in ChatGPT-3.5 a meta-cognitive 'think step-by-step' approach in every response.

I couldn't get def split_into_steps to output the correct answer with anything but the prompt in its current form.

@rlouf
Copy link
Member

rlouf commented Nov 26, 2023

Thank you for contributing! Could you run pre-commit to fix the formatting?

@rlouf rlouf added bug examples Linked to usage examples labels Nov 26, 2023
@MeDott29
Copy link
Contributor Author

so, I fundamentally changed the 'think step-by-step' example. it was way harder than I imagined it would be. it took me hours of trying prompts. My guess is that the ":"'s are encouraging the model to infer meaning outside the scope of the problem. so, I used ": :" as an identifier and the model immediately got the answer right.

@rlouf
Copy link
Member

rlouf commented Nov 26, 2023

Well done! 👏

@rlouf rlouf merged commit 027b29b into outlines-dev:main Nov 26, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug examples Linked to usage examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants