File size: 764 Bytes
b8aa51a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# English Text Classifier

## Overview

Detects whether English-language text is AI-generated or human-written.

## Model Pipeline

- Tokenizer: GPT-2 Tokenizer
- Model: Custom trained binary classifier

## Dataset

- Balanced dataset: Human vs AI-generated (ChatGPT, Claude, etc.)
- Tokenized and fed into the model using PyTorch/TensorFlow

## Code Location

- Controller: `features/text_classifier/controller.py`
- Inference: `features/text_classifier/inferencer.py`
- Model Loader: `features/text_classifier/model_loader.py`
- Preprocessor: `features/text_classifier/preprocess.py`

## API

- Endpoint: [ENDPOINTS](../api_endpoints.md)
- Input: Raw English text
- Output: Prediction result with probability/confidence

[πŸ”™ Back to Main README](../README.md)