How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="yaful/MAGE")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("yaful/MAGE")
model = AutoModelForSequenceClassification.from_pretrained("yaful/MAGE")
Quick Links

MAGE: Machine-generated Text Detection in the Wild

πŸ“š Citation

Please check out our Github repo for detailed information. If you use this model in your research, please cite it as follows:

@misc{li2024mage,
      title={MAGE: Machine-generated Text Detection in the Wild}, 
      author={Yafu Li and Qintong Li and Leyang Cui and Wei Bi and Zhilin Wang and Longyue Wang and Linyi Yang and Shuming Shi and Yue Zhang},
      year={2024},
      eprint={2305.13242},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
Downloads last month
933
Inference Providers NEW

Space using yaful/MAGE 1

Paper for yaful/MAGE