NeoChen1024 commited on
Commit
15e707e
·
verified ·
1 Parent(s): a03b34f

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +21 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +22 -0
README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ tags:
4
+ - anime
5
+ - quality assurance
6
+ - dataset maintenance
7
+ pipeline_tag: image-classification
8
+ ---
9
+
10
+ # **DISCLAIMER: BECAUSE I HAVE CHANGED MY VIEW ON AI GENERATED "ART" AND THE CONSTANT ABUSE OF ARTISTS, I WILL BE SHUTTING DOWN THE MODEL INDEFINITELY ON DECEMBER 24TH.**
11
+ # Aesthetic Shadow V2
12
+
13
+ Aesthetic Shadow V2 is a 1.1b parameters visual transformer designed to evaluate the quality of anime images. It accepts high-resolution 1024x1024 images as input and provides a prediction score that quantifies the aesthetic appeal of the artwork. Leveraging cutting-edge deep learning techniques, this model excels at discerning fine details, proportions, and overall visual coherence in anime illustrations.
14
+
15
+ This is an improved model over the original shadowlilac/aesthetic-shadow
16
+
17
+ **Before utilizing my Software, please check licensing conditions. If the license does not work for you, please contact me.**
18
+
19
+
20
+ ## Disclosure
21
+ This model does not intend to be offensive towards any artist and may not output an accurate label for an image. A potential use case would be low quality images filtering on image datasets.
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "shadowlilac/aesthetic-shadow",
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": "float32",
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:7e272b91db321fcaa28aa4aa7c2b3403a1a2839be484d2ecb30ee599071ee43e
3
+ size 4365147472
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
+ }