Loading…
Loading…
A simple model to detect AI-written content.
This model is a PEFT of bert-base-cased.
It was trained on a dataset of scraped paragraphs from Wikipedia, as well as AI rewrites of said paragraphs.
More detail about the training data can be found here.
The basic usage is as follows:
from transformers import pipeline
classifier = pipeline("text-classification", model="gouwsxander/slop-detector-bert")
inputs: str | list[str] | dict[str, str] | list[dict[str, str]] = ...
results = classifier(inputs)
Texts with label LABEL_1 are estimated to be produced by an AI.
You may get a warning about weights being initialized, but these can be ignored.