dima806 commited on
Commit
7a52c11
·
verified ·
1 Parent(s): b258c3c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -1
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
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6449300e3adf50d864095b90/RBfE9AIiEMlriYujz2FJQ.png)
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
+ ```