Downloads · 30 days
10
0% of all-time downloads
UBC-NLP/ptsm_t5_paraphraser
ptsm_t5_paraphraser is a machine learning model from UBC-NLP. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc-by-nc-3.0.
Downloads · 30 days
10
0% of all-time downloads
All-time downloads
2.4K
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin892 MB · 100%
From the Hugging Face model README
You can load this model by:
from transformers import T5ForConditionalGeneration,T5TokenizerFast
model = T5ForConditionalGeneration.from_pretrained(model_name_or_path)
tokenizer = T5TokenizerFast.from_pretrained(model_name_or_path)
A prefix "paraphrase: " should be added in font of the input sequence, i.e.:
input_st = "paraphrase: " + text + " </s>"
You can find our scripts for generation in our project GitHub Please find more training details in our paper:
Decay No More: A Persistent Twitter Dataset for Learning Social Meaning
Accepted by 1st Workshop on Novel Evaluation Approaches for Text Classification Systems on Social Media @ ICWSM-2022
@inproceedings{zhang2022decay,
title={Decay No More: A Persistent Twitter Dataset for Learning Social Meaning},
author={Zhang, Chiyu and Abdul-Mageed, Muhammad and Nagoudi, El Moatez Billah},
booktitle ={Proceedings of 1st Workshop on Novel Evaluation Approaches for Text Classification Systems on Social Media (NEATCLasS)},
year={2022},
url = {https://arxiv.org/pdf/2204.04611.pdf},
publisher = {{AAAI} Press},
}