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

Example of text-generation from model #21

Closed
dhowe opened this issue Aug 15, 2024 · 1 comment
Closed

Example of text-generation from model #21

dhowe opened this issue Aug 15, 2024 · 1 comment

Comments

@dhowe
Copy link

dhowe commented Aug 15, 2024

Our code also allows you to turn your suffix array index into an efficient n-gram language model, which can be used to generate text or compute the perplexity of a given text.

Looking for a simple demo of this, thanks

@dhowe dhowe changed the title Example of text-generation from a tokengrams model Example of text-generation from model Aug 15, 2024
@luciaquirke
Copy link
Contributor

Hey, thanks for the question! Here's a text generation example: https://colab.research.google.com/drive/1CEHoIjLboGl8YPbIqnWJlPYMm1wVOrrj?usp=sharing

Let me know if you have any issues!

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

No branches or pull requests

2 participants