| --- |
| --- |
| license: mit |
| language: en |
| pipeline_tag: image-classification |
| tags: |
| - deepfake |
| - computer-vision |
| - image-classification |
| - pytorch |
| --- |
| --- |
| # π₯ Deepfake Image Detection Model (Ensemble) |
|
|
| ## π Overview |
| This model detects whether an image is **REAL or FAKE (AI-generated)**. |
|
|
| It uses an **ensemble of 3 Vision Transformer (ViT/CLIP-based) models**: |
| - m1.safetensors |
| - m2.safetensors |
| - m3.safetensors |
|
|
| --- |
|
|
| ## π§ Model Details |
|
|
| | Model | Type | |
| |------|------| |
| | m1 | ViT / CLIP | |
| | m2 | ViT | |
| | m3 | Fine-tuned CLIP | |
|
|
| --- |
|
|
| ## π― Task |
| Binary Classification: |
| - 0 β REAL |
| - 1 β FAKE |
|
|
| --- |
|
|
| ## π₯ Input |
| - Image (RGB) |
| - Size: 224 Γ 224 |
|
|
| --- |
|
|
| ## π€ Output |
| - Fake probability (0 to 1) |
|
|
| --- |
|
|
| ## βοΈ Installation |
|
|
| ```bash |
| pip install torch torchvision timm safetensors pillow |