ves02 commited on
Commit
69ca75c
·
verified ·
1 Parent(s): d37a548

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +32 -14
  2. model.safetensors +2 -2
  3. preprocessor_config.json +10 -11
config.json CHANGED
@@ -1,13 +1,22 @@
1
  {
2
  "architectures": [
3
- "ViTForImageClassification"
4
  ],
5
- "attention_probs_dropout_prob": 0.0,
 
 
 
 
 
 
6
  "dtype": "float32",
7
- "encoder_stride": 16,
8
  "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.0,
10
- "hidden_size": 768,
 
 
 
 
11
  "id2label": {
12
  "0": "tench, Tinca tinca",
13
  "1": "goldfish, Carassius auratus",
@@ -1012,7 +1021,6 @@
1012
  },
1013
  "image_size": 224,
1014
  "initializer_range": 0.02,
1015
- "intermediate_size": 3072,
1016
  "label2id": {
1017
  "Afghan hound, Afghan": 160,
1018
  "African chameleon, Chamaeleo chamaeleon": 47,
@@ -2015,13 +2023,23 @@
2015
  "zucchini, courgette": 939
2016
  },
2017
  "layer_norm_eps": 1e-12,
2018
- "model_type": "vit",
2019
- "num_attention_heads": 12,
2020
  "num_channels": 3,
2021
- "num_hidden_layers": 12,
2022
- "patch_size": 16,
2023
- "pooler_act": "tanh",
2024
- "pooler_output_size": 768,
2025
- "qkv_bias": true,
2026
- "transformers_version": "5.0.0"
 
 
 
 
 
 
 
 
 
 
2027
  }
 
1
  {
2
  "architectures": [
3
+ "ConvNextForImageClassification"
4
  ],
5
+ "depths": [
6
+ 3,
7
+ 3,
8
+ 27,
9
+ 3
10
+ ],
11
+ "drop_path_rate": 0.0,
12
  "dtype": "float32",
 
13
  "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 128,
16
+ 256,
17
+ 512,
18
+ 1024
19
+ ],
20
  "id2label": {
21
  "0": "tench, Tinca tinca",
22
  "1": "goldfish, Carassius auratus",
 
1021
  },
1022
  "image_size": 224,
1023
  "initializer_range": 0.02,
 
1024
  "label2id": {
1025
  "Afghan hound, Afghan": 160,
1026
  "African chameleon, Chamaeleo chamaeleon": 47,
 
2023
  "zucchini, courgette": 939
2024
  },
2025
  "layer_norm_eps": 1e-12,
2026
+ "layer_scale_init_value": 1e-06,
2027
+ "model_type": "convnext",
2028
  "num_channels": 3,
2029
+ "num_stages": 4,
2030
+ "out_features": [
2031
+ "stage4"
2032
+ ],
2033
+ "out_indices": [
2034
+ 4
2035
+ ],
2036
+ "patch_size": 4,
2037
+ "stage_names": [
2038
+ "stem",
2039
+ "stage1",
2040
+ "stage2",
2041
+ "stage3",
2042
+ "stage4"
2043
+ ],
2044
+ "transformers_version": "5.9.0"
2045
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5858c73546f09c29843ae4f2ee9b2712a2308733bef25e748fec3cdf0d5728bc
3
- size 346293856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d610857ec4e2ebb6c987e796c64f898526e2e447c5ea38cf528ec6bd1492caf
3
+ size 354407128
preprocessor_config.json CHANGED
@@ -1,23 +1,22 @@
1
  {
2
- "do_convert_rgb": null,
3
  "do_normalize": true,
4
  "do_rescale": true,
5
  "do_resize": true,
6
  "image_mean": [
7
- 0.5,
8
- 0.5,
9
- 0.5
10
  ],
11
- "image_processor_type": "ViTImageProcessor",
12
  "image_std": [
13
- 0.5,
14
- 0.5,
15
- 0.5
16
  ],
17
- "resample": 2,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
- "height": 224,
21
- "width": 224
22
  }
23
  }
 
1
  {
2
+ "crop_pct": 0.875,
3
  "do_normalize": true,
4
  "do_rescale": true,
5
  "do_resize": true,
6
  "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
  ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
  "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
  ],
17
+ "resample": 3,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
+ "shortest_edge": 224
 
21
  }
22
  }