Spaces:
Sleeping
Sleeping
| 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](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 | |