Following metrics are achieved on the test split
test
(
link
).
F1 (micro): 0.6931034482758621
F1 (macro): 0.692628774202147
Accuracy: 0.6931034482758621
Usage
Install tweetnlp via pip.
pip install tweetnlp
Load the model in python.
import tweetnlp
model = tweetnlp.Classifier("cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual", max_length=128)
model.predict('Get the all-analog Classic Vinyl Edition of "Takin Off" Album from {@herbiehancock@} via {@bluenoterecords@} link below {{URL}}')
Reference
@inproceedings{camacho-collados-etal-2022-tweetnlp,
title = "{T}weet{NLP}: Cutting-Edge Natural Language Processing for Social Media",
author = "Camacho-collados, Jose and
Rezaee, Kiamehr and
Riahi, Talayeh and
Ushio, Asahi and
Loureiro, Daniel and
Antypas, Dimosthenis and
Boisson, Joanne and
Espinosa Anke, Luis and
Liu, Fangyu and
Mart{\'\i}nez C{\'a}mara, Eugenio" and others,
booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",
month = dec,
year = "2022",
address = "Abu Dhabi, UAE",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.emnlp-demos.5",
pages = "38--49"
}
Runs of cardiffnlp twitter-xlm-roberta-base-sentiment-multilingual on huggingface.co
202.6K
Total runs
-7.6K
24-hour runs
-8.6K
3-day runs
-38.2K
7-day runs
90.2K
30-day runs
More Information About twitter-xlm-roberta-base-sentiment-multilingual huggingface.co Model
twitter-xlm-roberta-base-sentiment-multilingual huggingface.co is an AI model on huggingface.co that provides twitter-xlm-roberta-base-sentiment-multilingual's model effect (), which can be used instantly with this cardiffnlp twitter-xlm-roberta-base-sentiment-multilingual model. huggingface.co supports a free trial of the twitter-xlm-roberta-base-sentiment-multilingual model, and also provides paid use of the twitter-xlm-roberta-base-sentiment-multilingual. Support call twitter-xlm-roberta-base-sentiment-multilingual model through api, including Node.js, Python, http.
twitter-xlm-roberta-base-sentiment-multilingual huggingface.co is an online trial and call api platform, which integrates twitter-xlm-roberta-base-sentiment-multilingual's modeling effects, including api services, and provides a free online trial of twitter-xlm-roberta-base-sentiment-multilingual, you can try twitter-xlm-roberta-base-sentiment-multilingual online for free by clicking the link below.
cardiffnlp twitter-xlm-roberta-base-sentiment-multilingual online free url in huggingface.co:
twitter-xlm-roberta-base-sentiment-multilingual is an open source model from GitHub that offers a free installation service, and any user can find twitter-xlm-roberta-base-sentiment-multilingual on GitHub to install. At the same time, huggingface.co provides the effect of twitter-xlm-roberta-base-sentiment-multilingual install, users can directly use twitter-xlm-roberta-base-sentiment-multilingual installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
twitter-xlm-roberta-base-sentiment-multilingual install url in huggingface.co: