Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Generation should stop after two new lines if that is the stop criteria #717

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Vidyaranya
Copy link

This addresses Issue 642. When the stop token is \n\n the generation should stop after generation two new lines.

Check the previous token that is generated and if it is repeated, and if the stop token contains this as the criteria, stop generating further tokens

@suchenzang
Copy link
Contributor

suchenzang commented Apr 30, 2023

Rebase on main, and tests will probably pass!

Summary: This addresses Issue 642. When the stop token is \n\n the generation
should stop after generation two new lines.
@Vidyaranya
Copy link
Author

Rebase on main, and tests will probably pass!

They still seem to fail!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants