Add README explaining repo structure
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# AI Detection Meta-Classifier Weights
|
| 2 |
+
|
| 3 |
+
Stacking meta-classifier weights for multi-modal AI content detection.
|
| 4 |
+
|
| 5 |
+
## What's in this repo
|
| 6 |
+
|
| 7 |
+
| File | Description |
|
| 8 |
+
|------|-------------|
|
| 9 |
+
| `config.json` | Full config with model IDs + meta-classifier weights |
|
| 10 |
+
| `meta_classifier_weights.json` | Same weights (explicit name) |
|
| 11 |
+
|
| 12 |
+
## Architecture
|
| 13 |
+
|
| 14 |
+
Each modality uses **StandardScaler + LogisticRegression** on top of multiple neural model scores:
|
| 15 |
+
|
| 16 |
+
| Modality | Neural Models | Meta-Classifier Features | Accuracy |
|
| 17 |
+
|----------|--------------|-------------------------|----------|
|
| 18 |
+
| **Image** | 4x ViT classifiers | 4 model scores + FFT slope + HF ratio (6 features) | **99.1%** |
|
| 19 |
+
| **Audio** | 2x wav2vec2 classifiers | 2 model scores + 5 spectral features (7 features) | **82.0%** |
|
| 20 |
+
| **Text** | Falcon-7B (Binoculars) + RoBERTa | 2 model scores + 5 statistical features (7 features) | **97.5%** |
|
| 21 |
+
|
| 22 |
+
## Neural Network Models (hosted on their original HF repos)
|
| 23 |
+
|
| 24 |
+
**Image:**
|
| 25 |
+
- `NYUAD-ComNets/NYUAD_AI-generated_images_detector`
|
| 26 |
+
- `Organika/sdxl-detector`
|
| 27 |
+
- `umm-maybe/AI-image-detector`
|
| 28 |
+
- `dima806/ai_vs_real_image_detection`
|
| 29 |
+
|
| 30 |
+
**Audio:**
|
| 31 |
+
- `DavidCombei/wav2vec2-xls-r-1b-DeepFake-AI4TRUST`
|
| 32 |
+
- `Gustking/wav2vec2-large-xlsr-deepfake-audio-classification`
|
| 33 |
+
|
| 34 |
+
**Text:**
|
| 35 |
+
- `tiiuae/falcon-7b` + `tiiuae/falcon-7b-instruct` (Binoculars method)
|
| 36 |
+
- `Hello-SimpleAI/chatgpt-detector-roberta`
|
| 37 |
+
|
| 38 |
+
## Usage
|
| 39 |
+
|
| 40 |
+
The weights in this repo are the **meta-classifier layer only** (scaler params + logistic regression coefficients).
|
| 41 |
+
The large neural network weights are downloaded from their original HuggingFace repos at runtime.
|