ai-vs-human / README.md
Serial
Update README.md
91681fc unverified

A newer version of the Streamlit SDK is available: 1.52.2

Upgrade
metadata
title: AI vs Human Text Classifier
emoji: πŸš€
colorFrom: indigo
colorTo: pink
sdk: streamlit
sdk_version: 1.32.2
app_file: app.py
pinned: false

🧠 AI vs Human Text Detector

This project is a machine learning-based system designed to distinguish between text written by a human and that generated by an AI language model (e.g., ChatGPT). It uses deep learning and text embeddings to analyze writing patterns and classify them accurately.


πŸ“Œ Features

  • βœ… Binary classification: AI-generated vs Human-written text
  • πŸ“ˆ Achieved 92% accuracy and 0.89 F1-Score
  • πŸ” Embedding + Deep Learning model
  • πŸ“Š Evaluation on real-world prompts and datasets
  • πŸ§ͺ Trained and tested using clean, balanced samples

πŸš€ Live Demo

πŸ”— Try it on Hugging Face Spaces

Enter a piece of text and the model will predict whether it's written by an AI or a human.


πŸ“‚ Repository Structure

.
β”œβ”€β”€ train_model.ipynb      # Notebook to preprocess and train the model
β”œβ”€β”€ requirements.txt       # (Optional) Dependencies
└── README.md              # Project overview and instructions