Skip to content

Repository files navigation

comPLEX

Script to check if a text or a .txt file is written by human or ChatGPT

features:

  • lightweight and faster than some heavy models
  • Running on a ML model to detect
  • Trained with A hugging face dataset
  • Works for Human vs ChatGPT

setup:

  • First, make sure you have python, if you haven't installed it yet, install it from here
  • Download the .zip format of the project from here and extract it or clone this project with git clone https://github.com/arshia2012/comPLEX (To clone, you need git
  • Go to directory where the project is
  • Install the libraries with pip install -r requirements.txt
  • run the model.py once first python3 model.py
  • Once finished you are ready to run python3 main.py and use the app

How to use:

  • To scan a text in the terminal use -t flag, e.g: python3 main.py -t "something"
  • To scan a file in the terminal use -f flag, e.g python3 main.py -f something.txt
  • If you want to see the full error texts, use -d flag

Example of result:

Screenshot 2026-09-06 095123

About

Script to check if a text or a .txt file is written by human or ChatGPT

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages