Skip to content

Calculates the perplexity and burstiness of a given text to determine whether it was generated by a large language model or not.

License

Notifications You must be signed in to change notification settings

cem256/GPT-Detector

Repository files navigation

GPT Detector

Calculates the perplexity and burstiness of a given text to determine whether it was generated by a large language model or not.

Available on

Google Play

Preview

Features

  • Analyze plain text.
  • Analyze text by selecting a photo from the photo library using OCR.
  • Analyze text by utilizing the phone's camera with OCR.

How results are calculated?

  • Large language models like ChatGPT typically generate text that is less complex and random compared to human-created content. The level of randomness and complexity can be analyzed to differentiate between AI-generated and human-created content.

What are the limitations of the GPT Detector?

  • Current version of the GPT Detector is optimized for texts written in English. So, using text in other languages may result in inaccurate results.
  • Texts written by children or non-native English speakers may be misclassified because they often produce text that is less random and complex.
  • As AI models advance, they become better at generating text that looks like human writing which affects the reliability of the GPT Detector. Therefore, it's not advised to solely rely on the detector's results for decision-making.

Architecture

Developed with Clean Architecture

Project Structure

  • "core" folder contains application-agnostic code that can be reused in other projects.
  • "feature" folder represents the app's feature set. Each feature is divided into subfolders for data, domain, and presentation.
  • "app" folder holds files specific to this particular application.

Packages