Update README.md
Browse files
README.md
CHANGED
@@ -7,4 +7,22 @@ base_model:
|
|
7 |
- google/vit-base-patch16-224-in21k
|
8 |
pipeline_tag: image-classification
|
9 |
library_name: transformers
|
10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
- google/vit-base-patch16-224-in21k
|
8 |
pipeline_tag: image-classification
|
9 |
library_name: transformers
|
10 |
+
---
|
11 |
+
Predicts with about 97% accuracy whether an attached image is AI-generated.
|
12 |
+
|
13 |
+
See https://www.kaggle.com/code/dima806/ai-vs-human-generated-images-prediction-vit for details.
|
14 |
+
|
15 |
+

|
16 |
+
|
17 |
+
```
|
18 |
+
Classification report:
|
19 |
+
|
20 |
+
precision recall f1-score support
|
21 |
+
|
22 |
+
human 0.9606 0.9849 0.9726 15990
|
23 |
+
AI-generated 0.9845 0.9596 0.9719 15990
|
24 |
+
|
25 |
+
accuracy 0.9723 31980
|
26 |
+
macro avg 0.9726 0.9723 0.9723 31980
|
27 |
+
weighted avg 0.9726 0.9723 0.9723 31980
|
28 |
+
```
|