Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
# tweet-topic-19-multi
|
| 2 |
|
| 3 |
-
This is a
|
| 4 |
-
The original
|
| 5 |
|
| 6 |
-
- Reference
|
| 7 |
- Git Repo: [TimeLMs official repository](https://github.com/cardiffnlp/timelms).
|
| 8 |
|
| 9 |
<b>Labels</b>:
|
|
@@ -43,7 +43,7 @@ predictions = (scores >= 0.5) * 1
|
|
| 43 |
|
| 44 |
# TF
|
| 45 |
#tf_model = TFAutoModelForSequenceClassification.from_pretrained(MODEL)
|
| 46 |
-
#class_mapping =
|
| 47 |
#text = "It is great to see athletes promoting awareness for climate change."
|
| 48 |
#tokens = tokenizer(text, return_tensors='tf')
|
| 49 |
#output = tf_model(**tokens)
|
|
|
|
| 1 |
# tweet-topic-19-multi
|
| 2 |
|
| 3 |
+
This is a RoBERTa-base model trained on ~90m tweets until the end of 2019 (see [here](https://huggingface.co/cardiffnlp/twitter-roberta-base-2019-90m)) and finetuned for multi-label topic classification on a corpus of 11,267 [tweets](https://huggingface.co/datasets/cardiffnlp/tweet_topic_multi).
|
| 4 |
+
The original RoBERTa-base model can be found [here](https://huggingface.co/cardiffnlp/twitter-roberta-base-2021-124m) and the original reference paper is [TweetEval](https://github.com/cardiffnlp/tweeteval). This model is suitable for English.
|
| 5 |
|
| 6 |
+
- Reference Papers: [TimeLMs paper](https://arxiv.org/abs/2202.03829), [TweetTopic](https://arxiv.org/abs/2209.09824).
|
| 7 |
- Git Repo: [TimeLMs official repository](https://github.com/cardiffnlp/timelms).
|
| 8 |
|
| 9 |
<b>Labels</b>:
|
|
|
|
| 43 |
|
| 44 |
# TF
|
| 45 |
#tf_model = TFAutoModelForSequenceClassification.from_pretrained(MODEL)
|
| 46 |
+
#class_mapping = tf_model.config.id2label
|
| 47 |
#text = "It is great to see athletes promoting awareness for climate change."
|
| 48 |
#tokens = tokenizer(text, return_tensors='tf')
|
| 49 |
#output = tf_model(**tokens)
|