File size: 790 Bytes
ec0afcc
 
 
 
 
 
 
 
 
 
 
 
68e4a3d
 
 
 
 
 
 
 
 
 
7555365
68e4a3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
---
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