Instructions to use yaful/MAGE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yaful/MAGE with Transformers:
# 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") - Inference
- Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| <div align="center"> | |
| <h1>MAGE: Machine-generated Text Detection in the Wild</h1> | |
| </div> | |
| ## 📚 Citation | |
| Please check out our [Github repo](https://github.com/yafuly/MAGE) for detailed information. If you use this model in your research, please cite it as follows: | |
| ```bibtex | |
| @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} | |
| } | |
| ``` | |
| <!-- # 🤝 Contributing --> |