Downloads · 30 days
15
1% of all-time downloads
ml6team/xlm-roberta-base-nl-emoji-ner
xlm-roberta-base-nl-emoji-ner is a token classification model from ml6team. Use it when you need labels on individual words, such as names. It is set up for transformers.
This model can be used to add emoji to an input text.
Downloads · 30 days
15
1% of all-time downloads
All-time downloads
1.2K
Public
Repo size
4.5 GB
Likes
2
Public
Click a slice to open those files.
.bin1.1 GB · 98%
From the Hugging Face model README
This model can be used to add emoji to an input text.
To accomplish this, we framed the problem as a token-classification problem, predicting the emoji that should follow a certain word/token as an entity.
The accompanying demo, which includes all the pre- and postprocessing needed can be found here.
For the moment, this only works for Dutch texts.
For this model, we scraped about 1000 unique tweets per emoji we support: ['😨', '😥', '😍', '😠', '🤯', '😄', '🍾', '🚗', '☕', '💰']
Which could look like this:
Wow 😍😍, what a cool car 🚗🚗!
Omg, I hate mondays 😠... I need a drink 🍾
After some processing, we can reposition this in a more known NER format:
| Word | Label |
|---|---|
| Wow | B-😍 |
| , | O |
| what | O |
| a | O |
| cool | O |
| car | O |
| ! | B-🚗 |
Which can then be leveraged for training a token classification model.
Unfortunately, Terms of Service prohibit us from sharing the original dataset.
The model was trained for 4 epochs.