shadowlilac commited on
Commit
f2d1a9b
1 Parent(s): 1bcc9b3

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +32 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +22 -0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./aesthetic-shadow-2/checkpoint-13516",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 1536,
11
+ "id2label": {
12
+ "0": "hq",
13
+ "1": "lq"
14
+ },
15
+ "image_size": 1024,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 4192,
18
+ "label2id": {
19
+ "hq": "0",
20
+ "lq": "1"
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 16,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 48,
27
+ "patch_size": 64,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "bfloat16",
31
+ "transformers_version": "4.37.2"
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88e9a3d924aac68908d63f2b543f3ea3cb8dccd4b53dfa7542b8a1d72a241a25
3
+ size 2182620876
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.65463551,
7
+ 0.60715182,
8
+ 0.61108185
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.32903292,
13
+ 0.32726001,
14
+ 0.31909652
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 1024,
20
+ "width": 1024
21
+ }
22
+ }