Try it live at
detecting-ai.com – our team at Detecting-ai built this model and demo so you can instantly test any Portuguese text online.
1from transformers import pipeline
2
3clf = pipeline(
4 "text-classification",
5 model="Detecting-ai/pt-ai-detector",
6 tokenizer="Detecting-ai/pt-ai-detector",
7 device=0 # set -1 for CPU
8)
9
10text = "A inteligência artificial está transformando a educação."
11print(clf(text)) # → [{'label': 'AI', 'score': 0.987}]
Detect AI-generated Portuguese text in essays, articles, chats, support tickets, etc.
1@misc{abdurazzoqov2025ptaidetector,
2 title = {pt-ai-detector: Detecting AI-generated Portuguese Text},
3 author = {Abdulla Abdurazzoqov},
4 year = {2025},
5 howpublished = {Hugging Face hub},
6 url = {https://huggingface.co/Detecting-ai/pt-ai-detector}
7}