sajeewa commited on
Commit
a4fe52d
·
verified ·
1 Parent(s): 292be86

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +52 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "Black-grass",
12
+ "1": "Charlock",
13
+ "2": "Cleavers",
14
+ "3": "Common Chickweed",
15
+ "4": "Common wheat",
16
+ "5": "Fat Hen",
17
+ "6": "Loose Silky-bent",
18
+ "7": "Maize",
19
+ "8": "Scentless Mayweed",
20
+ "9": "Shepherds Purse",
21
+ "10": "Small-flowered Cranesbill",
22
+ "11": "Sugar beet"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "Black-grass": 0,
29
+ "Charlock": 1,
30
+ "Cleavers": 2,
31
+ "Common Chickweed": 3,
32
+ "Common wheat": 4,
33
+ "Fat Hen": 5,
34
+ "Loose Silky-bent": 6,
35
+ "Maize": 7,
36
+ "Scentless Mayweed": 8,
37
+ "Shepherds Purse": 9,
38
+ "Small-flowered Cranesbill": 10,
39
+ "Sugar beet": 11
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "model_type": "vit",
43
+ "num_attention_heads": 12,
44
+ "num_channels": 3,
45
+ "num_hidden_layers": 12,
46
+ "patch_size": 16,
47
+ "pooler_act": "tanh",
48
+ "pooler_output_size": 768,
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.51.3"
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcd4acd2a17bd5366fda9c3995c01b2a1931eb9b486a0ec5150b5c110b0a8954
3
+ size 343254736
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }