CoolFace
Apppublic

SerialGuy/ai-vs-human

sourceHugging Faceupdated 1y agoView on Hugging Face
4likes
App README

๐Ÿง  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](https://huggingface.co/spaces/SerialGuy/ai-vs-human)

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

๐Ÿ“‚ Repository Structure

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