-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Use machine learning when searching emojilib
#11
Comments
That would be very cool, but not easy to do, as you would have to gather a lot of data, train a model, for a neural network. Not something I'm going to work on, but happy to receive a pull request if anyone wanna take the challenge. |
@sindresorhus You're right! Not super easy…! |
Perhaps some basic caching for repeated entries? Though it'd get memory-heavy. |
The Dango website seems to reference an "Offline Predictions SDK". |
emojilib
We could alternatively use https://github.com/bfelbo/DeepMoji |
@sindresorhus I'm much more concerned about distribution. That is, the pre-trained model is probably going to be a bit to large for npm (many megabytes at least, probably). |
I think a better solution is to let users opt into using the ChatGPT API by providing their own OpenAI API key. It will return much better results than whatever we can do here. Example prompt:
|
Oh I see. Tragically though, the ChatGPT API has no free plan. Is this a problem? |
No. It would be opt-in anyway. The paid plan is not expensive. It would be almost nothing to simply fetch emojis.
I don't see it being worth the effort. |
Hi!
I think that an offline version would be great! 😃
The text was updated successfully, but these errors were encountered: