SJTU-CL/ArguGPT
Viewer • Updated • 4.04k • 281 • 2
How to use SJTU-CL/RoBERTa-large-ArguGPT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="SJTU-CL/RoBERTa-large-ArguGPT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("SJTU-CL/RoBERTa-large-ArguGPT")
model = AutoModelForSequenceClassification.from_pretrained("SJTU-CL/RoBERTa-large-ArguGPT")RoBERTa-large finetuned on ArguGPT essays.
Please truncate your input essay to 512 tokens
Please cite our work arXiv:2304.07666 as
@misc{liu2023argugpt,
title={ArguGPT: evaluating, understanding and identifying argumentative essays generated by GPT models},
author={Yikang Liu and Ziyin Zhang and Wanyang Zhang and Shisen Yue and Xiaojing Zhao and Xinyuan Cheng and Yiwen Zhang and Hai Hu},
year={2023},
eprint={2304.07666},
archivePrefix={arXiv},
primaryClass={cs.CL}
}