davanstrien HF staff commited on
Commit
fbcaaf0
1 Parent(s): 94e0a3b

Upload deit_base_patch16_224 fine-tuned for document classification

Browse files
Files changed (4) hide show
  1. README.md +8 -0
  2. config.json +49 -0
  3. model.safetensors +3 -0
  4. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - timm
5
+ library_name: timm
6
+ license: apache-2.0
7
+ ---
8
+ # Model card for document-classifier-deit_base_patch16_224
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "deit_base_patch16_224",
3
+ "num_classes": 3,
4
+ "num_features": 768,
5
+ "global_pool": "token",
6
+ "label_names": [
7
+ "contains_figure",
8
+ "contains_table",
9
+ "contains_text"
10
+ ],
11
+ "pretrained_cfg": {
12
+ "tag": "fb_in1k",
13
+ "custom_load": false,
14
+ "input_size": [
15
+ 3,
16
+ 224,
17
+ 224
18
+ ],
19
+ "fixed_input_size": true,
20
+ "interpolation": "bicubic",
21
+ "crop_pct": 0.9,
22
+ "crop_mode": "center",
23
+ "mean": [
24
+ 0.485,
25
+ 0.456,
26
+ 0.406
27
+ ],
28
+ "std": [
29
+ 0.229,
30
+ 0.224,
31
+ 0.225
32
+ ],
33
+ "num_classes": 1000,
34
+ "pool_size": null,
35
+ "first_conv": "patch_embed.proj",
36
+ "classifier": "head"
37
+ },
38
+ "base_model": "deit_base_patch16_224",
39
+ "best_f1_score": 0.8557077625570777,
40
+ "hyperparameters": {
41
+ "model_name": "deit_base_patch16_224",
42
+ "learning_rate": 3.8234752246751835e-05,
43
+ "batch_size": 8.0,
44
+ "dropout_rate": 0.2465447373174767,
45
+ "hidden_size": 512.0,
46
+ "weight_decay": 0.00010677482709481354
47
+ },
48
+ "input_size": 224
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d5be9d269822c731baec67eec709806470bb072025c0e2fe5b116b565b41459
3
+ size 344790900
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2fb7fa807a0d995280666a11c98d76b5a41a8060f2fa6442642d35ac6ecdb06
3
+ size 344836018