pthpth commited on
Commit
b14a48b
·
1 Parent(s): 871a741
Files changed (2) hide show
  1. config.json +50 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": 768,
11
+ "id2label": {
12
+ "0": "aluminium_foil",
13
+ "1": "brown_bread",
14
+ "10": "wool",
15
+ "2": "corduroy",
16
+ "3": "cork",
17
+ "4": "cotton",
18
+ "5": "cracker",
19
+ "6": "lettuce_leaf",
20
+ "7": "linen",
21
+ "8": "white_bread",
22
+ "9": "wood"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "aluminium_foil": "0",
29
+ "brown_bread": "1",
30
+ "corduroy": "2",
31
+ "cork": "3",
32
+ "cotton": "4",
33
+ "cracker": "5",
34
+ "lettuce_leaf": "6",
35
+ "linen": "7",
36
+ "white_bread": "8",
37
+ "wood": "9",
38
+ "wool": "10"
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "model_type": "vit",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "patch_size": 16,
46
+ "problem_type": "single_label_classification",
47
+ "qkv_bias": true,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.20.1"
50
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5821a3391ae66dc4bfaf5cc94e0d64cffae117434bffedef3b3f73b8143d815c
3
+ size 343294641