ideepankarsharma2003
commited on
Commit
•
5be792e
1
Parent(s):
cbb7bc8
Training in progress, epoch 1
Browse files- config.json +63 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "umm-maybe/AI-image-detector",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
18,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 128,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
+
"id2label": {
|
20 |
+
"0": "ai_gen",
|
21 |
+
"1": "human"
|
22 |
+
},
|
23 |
+
"image_size": 224,
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"label2id": {
|
26 |
+
"ai_gen": "0",
|
27 |
+
"human": "1"
|
28 |
+
},
|
29 |
+
"layer_norm_eps": 1e-05,
|
30 |
+
"max_length": 128,
|
31 |
+
"mlp_ratio": 4.0,
|
32 |
+
"model_type": "swin",
|
33 |
+
"num_channels": 3,
|
34 |
+
"num_heads": [
|
35 |
+
4,
|
36 |
+
8,
|
37 |
+
16,
|
38 |
+
32
|
39 |
+
],
|
40 |
+
"num_layers": 4,
|
41 |
+
"out_features": [
|
42 |
+
"stage4"
|
43 |
+
],
|
44 |
+
"out_indices": [
|
45 |
+
4
|
46 |
+
],
|
47 |
+
"padding": "max_length",
|
48 |
+
"patch_size": 4,
|
49 |
+
"path_norm": true,
|
50 |
+
"problem_type": "single_label_classification",
|
51 |
+
"qkv_bias": true,
|
52 |
+
"stage_names": [
|
53 |
+
"stem",
|
54 |
+
"stage1",
|
55 |
+
"stage2",
|
56 |
+
"stage3",
|
57 |
+
"stage4"
|
58 |
+
],
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.37.2",
|
61 |
+
"use_absolute_embeddings": false,
|
62 |
+
"window_size": 7
|
63 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7378cee437007c9f0b9b001046b9f64397186c0f23d5e2ba702e0d87c152d46d
|
3 |
+
size 347498816
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5275d00702a2b53a3b6e3c438f031dda358341f9a45c1cb4cd3aff3b7c077b5b
|
3 |
+
size 4728
|