Skip to content

fix instruct mode#445

Merged
ggerganov merged 2 commits intoggml-org:masterfrom
rabidcopy:fix-instruct
Mar 24, 2023
Merged

fix instruct mode#445
ggerganov merged 2 commits intoggml-org:masterfrom
rabidcopy:fix-instruct

Conversation

@rabidcopy
Copy link
Copy Markdown
Contributor

@rabidcopy rabidcopy commented Mar 23, 2023

Changes to EOS behavior in interactive mode and reverse prompt handling by #333 broke instruct mode by erroneously injecting instruct mode's reverse prompt and an extra newline. This restores instruct mode's previous behavior unmodified. Tested thoroughly. All non-interactive/interactive/interactive + reverse prompt/instruct modes work correctly now with expected EOS behavior for each mode. Sorry for the mild breakage!

changes to EOS behavior in interactive and reverse prompt handling broke instruct mode by erroneously injecting instruct mode's reverse prompt and an extra newline.
@ggerganov ggerganov merged commit 863f65e into ggml-org:master Mar 24, 2023
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
changes to EOS behavior in interactive and reverse prompt handling broke instruct mode by erroneously injecting instruct mode's reverse prompt and an extra newline.
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
changes to EOS behavior in interactive and reverse prompt handling broke instruct mode by erroneously injecting instruct mode's reverse prompt and an extra newline.
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
changes to EOS behavior in interactive and reverse prompt handling broke instruct mode by erroneously injecting instruct mode's reverse prompt and an extra newline.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants