You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the suggestion! For now, we will have to keep the same labels to be consistent (in case someone is already using the model and expects these labels instead of the correct ones).
In more recent models we did use the right labels without mapping.txt (for example the twitter-xlm-roberta-base-sentiment model - https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-sentiment)
Just a suggestion, but e.g. here: https://huggingface.co/cardiffnlp/twitter-roberta-base-emoji/blob/main/config.json, if
id2label
andlabel2id
were setup correctly, one wouldn't have to separately load the mappings.txt file from this github repo, and do the mapping manually.The text was updated successfully, but these errors were encountered: