Downloads · 30 days
20
1% of all-time downloads
KoalaAI/Emoji-Suggester
Emoji-Suggester is a text classification model from KoalaAI. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as openrail.
This model is a text generation model that can suggest emojis based on a given text. It uses the deberta-v3-base model as a backbone.
Downloads · 30 days
20
1% of all-time downloads
All-time downloads
1.5K
Public
Parameters
184M
1.5 GB on disk
Likes
11
Trending 1
Click a slice to open those files.
.bin738 MB · 50%
How the weights are stored.
F32184M · 100%
From the Hugging Face model README
This model is a text generation model that can suggest emojis based on a given text. It uses the deberta-v3-base model as a backbone.
The dataset this was trained on has had it's emoji's replaced with the unicode characters rather than an index, which required a seperate file to map the indices to. The dataset was further modified in the following ways:
This model is intended to be used for fun and entertainment purposes, such as adding emojis to social media posts, messages, or emails. It is not intended to be used for any serious or sensitive applications, such as sentiment analysis, emotion recognition, or hate speech detection. The model may not be able to handle texts that are too long, complex, or ambiguous, and may generate inappropriate or irrelevant emojis in some cases. The model may also reflect the biases and stereotypes present in the training data, such as gender, race, or culture. Users are advised to use the model with caution and discretion.
You can use cURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love apples"}' https://api-inference.huggingface.co/models/KoalaAI/Emoji-Suggester
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("KoalaAI/Emoji-Suggester", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("KoalaAI/Emoji-Suggester", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)