Skip to content

Conversation

@chenmoneygithub
Copy link
Contributor

@chenmoneygithub chenmoneygithub commented Dec 21, 2022

You can view the demo via this link

@chenmoneygithub chenmoneygithub marked this pull request as draft December 21, 2022 02:13
@chenmoneygithub chenmoneygithub force-pushed the text-generation-playground branch 4 times, most recently from 8cd580c to e3a82a6 Compare January 3, 2023 23:29
@chenmoneygithub chenmoneygithub force-pushed the text-generation-playground branch from e3a82a6 to 0eb68f6 Compare January 4, 2023 00:01
Copy link
Contributor

@jbischof jbischof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very clean, thanks for sharing! I would love to understand the CasualLMPreprocessor better.

The samplers/ code should be moved to a different PR.

Copy link
Member

@mattdangerw mattdangerw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a full review, but left some quick comments!

@chenmoneygithub chenmoneygithub force-pushed the text-generation-playground branch from 18fe549 to 8206103 Compare January 19, 2023 20:16
@chenmoneygithub chenmoneygithub force-pushed the text-generation-playground branch from 4d9a9b7 to 4fa8fc5 Compare January 20, 2023 02:38
@chenmoneygithub chenmoneygithub marked this pull request as ready for review January 20, 2023 02:39
Copy link
Member

@mattdangerw mattdangerw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some initial comments!

@chenmoneygithub chenmoneygithub force-pushed the text-generation-playground branch from ac24a04 to cb12604 Compare January 23, 2023 23:35
Copy link
Contributor

@jbischof jbischof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of progress here! Left some comments.

Can you add a link to the demo colab? Would love to play around with this a bit.

Copy link
Member

@mattdangerw mattdangerw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Let's consider a out of box option to prepend an "end of text" token to input sequences. I believe this is standard practice, but we can check.

Since this is a big one, probably good to wait for an ack from @jbischof too!

Copy link
Contributor

@jbischof jbischof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The colab needs some updating but the PR is great. Thank you!

@chenmoneygithub chenmoneygithub merged commit 5737da9 into keras-team:master Jan 27, 2023
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.

3 participants