scaledf commited on
Commit
d1858d3
·
verified ·
1 Parent(s): 2dbceb9

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +101 -3
README.md CHANGED
@@ -1,3 +1,101 @@
1
- ---
2
- license: cc-by-nc-sa-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - feature-extraction
5
+ language:
6
+ - en
7
+ tags:
8
+ - deepfake-detection
9
+ - face-generation
10
+ - ai-safety
11
+ - trust-and-safety
12
+ pretty_name: ScaleDF
13
+ size_categories:
14
+ - 10M<n<100M
15
+ ---
16
+
17
+ # Summary
18
+ This is the dataset proposed in our paper **Scaling Laws for Deepfake Detection**.
19
+ <p align="center">
20
+ <img src="https://huggingface.co/datasets/scaledf/ScaleDF/resolve/main/assets/teasor.png" width="800">
21
+ </p>
22
+
23
+ ScaleDF is the largest dataset in the deepfake detection domain to date. It contains over 5.8 million real images from 51 different datasets (domains) and more than 8.8 million fake images generated by 102 deepfake methods.
24
+
25
+ Using ScaleDF, we observe power-law scaling similar to that shown in large language models (LLMs). Specifically, the average detection error follows a predictable power-law decay as either the number of real domains or the number of deepfake methods increases.
26
+
27
+ # Directory
28
+ ```
29
+ *DATA_PATH
30
+ *ScaleDF
31
+ *train
32
+ 000000AFAD.tar # The tar files starting with 000000 contain real faces.
33
+ 000000AVA.tar
34
+ ...
35
+ AMatrix_faces.tar # The tar files starting without 000000 contain fake faces.
36
+ AniPortrait_faces.tar
37
+ ...
38
+ *val
39
+ 000000300VW.tar # The tar files starting with 000000 contain real faces.
40
+ 000000GENKI-4K.tar
41
+ ...
42
+ 3dSwap_faces.tar # The tar files starting without 000000 contain fake faces.
43
+ DiffFace_faces.tar
44
+ ...
45
+ *Established_benchmarks
46
+ *CDFv2.tar
47
+ *DF40.tar
48
+ *DeepFakeDetection.tar
49
+ *DeepFakeFace.tar
50
+ *ForgeryNet.tar
51
+ *Wild_Deepfake.tar
52
+ *ScaleDF.tar # We also adapt the ScaleDF validation set format to other established benchmarks and provide the adapted version here.
53
+ ```
54
+
55
+ # Download
56
+
57
+ ## Automatic
58
+
59
+ ```python
60
+ from huggingface_hub import snapshot_download
61
+
62
+ local_dir = snapshot_download(
63
+ repo_id="scaledf/ScaleDF",
64
+ repo_type="dataset"
65
+ )
66
+ ```
67
+
68
+ ## Manually
69
+
70
+ ```
71
+ wget https://huggingface.co/datasets/scaledf/ScaleDF/resolve/main/ScaleDF/train/000000AFAD.tar # This is an example.
72
+ ```
73
+
74
+
75
+ # Compared to existing datasets
76
+ <p align="center">
77
+ <img src="https://huggingface.co/datasets/scaledf/ScaleDF/resolve/main/assets/compare.png" width="800">
78
+ </p>
79
+
80
+ # Observed scaling laws
81
+
82
+ <p align="center">
83
+ <img src="https://huggingface.co/datasets/scaledf/ScaleDF/resolve/main/assets/scaling_laws.png" width="800">
84
+ </p>
85
+
86
+ # Included real datasets
87
+
88
+ <p align="center">
89
+ <img src="https://huggingface.co/datasets/scaledf/ScaleDF/resolve/main/assets/real_dataset.png" width="800">
90
+ </p>We
91
+
92
+ # Included deepfake methods
93
+
94
+ <p align="center">
95
+ <img src="https://huggingface.co/datasets/scaledf/ScaleDF/resolve/main/assets/fake_method.png" width="800">
96
+ </p>
97
+
98
+
99
+ # License
100
+
101
+ Our ScaleDF is released under the [CC BY-NC-SA 4.0 license](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en).