GPT-2 Output Detector Demo on HuggingFace allows users to either enter the text into the textbox directly or use it as an API. It is free to use and does not need registration.
This is an online demo of the GPT-2 output detector model, based on the 🤗/Transformers
implementation of RoBERTa. Enter some text in the text box; the predicted probabilities will be displayed below. The results start to get reliable after around 50 tokens.
When entering the text directly into the textbox, it will show a graph on how fake (AI-generated) or real (human-generated) it is.
When using it as an API by adding a GET argument, like https://openai-openai-detector.hf.space/?This%20is%20a%20test
, it will return a JSON message:
{"all_tokens": 4, "used_tokens": 4, "real_probability": 0.016693303361535072, "fake_probability": 0.9833067059516907}