Introduction of twitter-roberta-base-similarity-latest
Model Details of twitter-roberta-base-similarity-latest
cardiffnlp/twitter-roberta-base-similarity-latest
This is a RoBERTa-base model trained on 154M tweets until the end of December 2022 and finetuned for tweet similarity (regression on two texts) on the
TweetSIM
dataset of
SuperTweetEval
.
The original Twitter-based RoBERTa model can be found
here
.
Example
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model_name = "cardiffnlp/twitter-roberta-base-similarity-latest"
model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
text_1 = 'Looooooool what is this story #TalksWithAsh'
text_2 = 'For someone who keeps saying long story short, the story is quite long iyah #TalksWithAsh'
text_input = f"{text_1} </s> {text_2}"
pipe = pipeline('text-classification', model=model, tokenizer=tokenizer, function_to_apply="none")
pipe(text_input)
>> [{'label': 'LABEL_0', 'score': 2.956475019454956}]
@inproceedings{antypas2023supertweeteval,
title={SuperTweetEval: A Challenging, Unified and Heterogeneous Benchmark for Social Media NLP Research},
author={Dimosthenis Antypas and Asahi Ushio and Francesco Barbieri and Leonardo Neves and Kiamehr Rezaee and Luis Espinosa-Anke and Jiaxin Pei and Jose Camacho-Collados},
booktitle={Findings of the Association for Computational Linguistics: EMNLP 2023},
year={2023}
}
Runs of cardiffnlp twitter-roberta-base-similarity-latest on huggingface.co
158
Total runs
0
24-hour runs
0
3-day runs
-2
7-day runs
141
30-day runs
More Information About twitter-roberta-base-similarity-latest huggingface.co Model
More twitter-roberta-base-similarity-latest license Visit here:
twitter-roberta-base-similarity-latest huggingface.co is an AI model on huggingface.co that provides twitter-roberta-base-similarity-latest's model effect (), which can be used instantly with this cardiffnlp twitter-roberta-base-similarity-latest model. huggingface.co supports a free trial of the twitter-roberta-base-similarity-latest model, and also provides paid use of the twitter-roberta-base-similarity-latest. Support call twitter-roberta-base-similarity-latest model through api, including Node.js, Python, http.
twitter-roberta-base-similarity-latest huggingface.co is an online trial and call api platform, which integrates twitter-roberta-base-similarity-latest's modeling effects, including api services, and provides a free online trial of twitter-roberta-base-similarity-latest, you can try twitter-roberta-base-similarity-latest online for free by clicking the link below.
cardiffnlp twitter-roberta-base-similarity-latest online free url in huggingface.co:
twitter-roberta-base-similarity-latest is an open source model from GitHub that offers a free installation service, and any user can find twitter-roberta-base-similarity-latest on GitHub to install. At the same time, huggingface.co provides the effect of twitter-roberta-base-similarity-latest install, users can directly use twitter-roberta-base-similarity-latest installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
twitter-roberta-base-similarity-latest install url in huggingface.co: