0-ma commited on
Commit
5670eb6
1 Parent(s): 8125ad0

Upload ViTForImageClassification

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. config.json +40 -0
  3. model.safetensors +3 -0
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- license: apache-2.0
3
  datasets:
4
  - 0-ma/geometric-shapes
 
5
  metrics:
6
  - accuracy
7
- base_model: WinKawaks/vit-tiny-patch16-224
8
  pipeline_tag: image-classification
9
  ---
10
 
 
1
  ---
2
+ base_model: WinKawaks/vit-tiny-patch16-224
3
  datasets:
4
  - 0-ma/geometric-shapes
5
+ license: apache-2.0
6
  metrics:
7
  - accuracy
 
8
  pipeline_tag: image-classification
9
  ---
10
 
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./out/model/final_model",
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": 192,
11
+ "id2label": {
12
+ "0": "1",
13
+ "1": "2",
14
+ "2": "3",
15
+ "3": "4",
16
+ "4": "5",
17
+ "5": "6"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 768,
22
+ "label2id": {
23
+ "1": "0",
24
+ "2": "1",
25
+ "3": "2",
26
+ "4": "3",
27
+ "5": "4",
28
+ "6": "5"
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "vit",
32
+ "num_attention_heads": 3,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "problem_type": "single_label_classification",
37
+ "qkv_bias": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.44.2"
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68b3fb84125f213e40ee217cd219b3b37ee2ddbe2baf67328960bd19bd59757f
3
+ size 22125008