saltacc commited on
Commit
fcbabdf
1 Parent(s): c5e63ae

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +56 -0
  2. preprocessor_config.json +29 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224",
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "ai",
17
+ "1": "human"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "ai": 0,
24
+ "human": 1
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "layer_scale_init_value": 0.1,
28
+ "model_type": "beit",
29
+ "num_attention_heads": 12,
30
+ "num_channels": 3,
31
+ "num_hidden_layers": 12,
32
+ "out_indices": [
33
+ 3,
34
+ 5,
35
+ 7,
36
+ 11
37
+ ],
38
+ "patch_size": 16,
39
+ "pool_scales": [
40
+ 1,
41
+ 2,
42
+ 3,
43
+ 6
44
+ ],
45
+ "problem_type": "single_label_classification",
46
+ "semantic_loss_ignore_index": 255,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.25.1",
49
+ "use_absolute_position_embeddings": false,
50
+ "use_auxiliary_head": true,
51
+ "use_mask_token": false,
52
+ "use_mean_pooling": true,
53
+ "use_relative_position_bias": true,
54
+ "use_shared_relative_position_bias": false,
55
+ "vocab_size": 8192
56
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "BeitFeatureExtractor",
12
+ "image_mean": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "image_processor_type": "BeitImageProcessor",
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 224,
27
+ "width": 224
28
+ }
29
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fac061ce4805435e1803c42f0ac76c358a63e3be3fc0c103e0e8a3f9f0b237ee
3
+ size 346860409