DEV Community

Cover image for Open-Sourced GPTZero
Fannie Lin
Fannie Lin

Posted on

Open-Sourced GPTZero

We've open-sourced the implementation of GPTZero!

How does it work?

  1. It uses GPTv2 Perplexity Model from Huggingface to find total perplexity of the sentence.

  2. Later, we break it into individual sentences based on some delimiters, and find individual perplexity per line and find total average perplexities.

  3. The average perplexities is then passed through certain threshold, and if it crosses it, it becomes human-centric, otherwise the text is generated by an AI.

  • You can find the implementation on GitHub here.

  • Play around with it with a website here.

  • How we implement, watch here.

  • Join our Discord community for discussion and feedback.

See you there~

Powered by Ailiverse

Latest comments (0)