Downloads · 30 days
22
2% of all-time downloads
cardiffnlp/roberta-base-tweet-topic-single-all
roberta-base-tweet-topic-single-all is a text classification model from cardiffnlp. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of roberta-base on the tweettopicsingle. This model is fine-tuned on trainall split and validated on test2021 split of tweettopic. Fine-tuning script can be found here. It achieves t…
Downloads · 30 days
22
2% of all-time downloads
All-time downloads
1.1K
Public
Repo size
2.5 GB
Likes
0
Public
Click a slice to open those files.
.bin499 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of roberta-base on the tweet_topic_single. This model is fine-tuned on train_all split and validated on test_2021 split of tweet_topic.
Fine-tuning script can be found here. It achieves the following results on the test_2021 set:
from transformers import pipeline
pipe = pipeline("text-classification", "cardiffnlp/roberta-base-tweet-topic-single-all")
topic = pipe("Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US.")
print(topic)
@inproceedings{dimosthenis-etal-2022-twitter,
title = "{T}witter {T}opic {C}lassification",
author = "Antypas, Dimosthenis and
Ushio, Asahi and
Camacho-Collados, Jose and
Neves, Leonardo and
Silva, Vitor and
Barbieri, Francesco",
booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
month = oct,
year = "2022",
address = "Gyeongju, Republic of Korea",
publisher = "International Committee on Computational Linguistics"
}