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

Model generates words that the user has already seen recently or assigned meaning to #45

Open
annaproxy opened this issue Jul 18, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@annaproxy
Copy link
Collaborator

Multiple options here, since there is only a finite amount of words to generate (especially if temp is low)

  • Keep a list of recent words to not generate, always incl. words the user has already assigned meaning to
  • have a 'skip'/'trash' button so that the word is 'blacklisted' for that user
  • both
  • other

Let me know what you think..

@annaproxy annaproxy added enhancement New feature or request help wanted Extra attention is needed labels Jul 18, 2021
@Sasafrass
Copy link
Owner

This is a very interesting subject. I would say we take the following approach (as partially outlined above).

  • Query the database when a user logs in and store the user's words in the session as a dict/set.
  • Merge this dict with the recently generated words in the generate_slang functionality.

We also don't want to end up not generating any slang anymore, so maybe we should also fall back to increasing the temperature once we don't generate any words anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants