Floriankidev commited on
Commit
19a1513
1 Parent(s): 5b8b336

Training in progress, epoch 0

Browse files
Files changed (4) hide show
  1. config.json +89 -89
  2. model.safetensors +1 -1
  3. preprocessor_config.json +36 -36
  4. training_args.bin +1 -1
config.json CHANGED
@@ -1,89 +1,89 @@
1
- {
2
- "_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
3
- "architectures": [
4
- "SwinForImageClassification"
5
- ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "depths": [
8
- 2,
9
- 2,
10
- 6,
11
- 2
12
- ],
13
- "drop_path_rate": 0.1,
14
- "embed_dim": 96,
15
- "encoder_stride": 32,
16
- "hidden_act": "gelu",
17
- "hidden_dropout_prob": 0.0,
18
- "hidden_size": 768,
19
- "id2label": {
20
- "0": "advertisement",
21
- "1": "budget",
22
- "2": "email",
23
- "3": "file_folder",
24
- "4": "form",
25
- "5": "handwritten",
26
- "6": "invoice",
27
- "7": "letter",
28
- "8": "memo",
29
- "9": "news_article",
30
- "10": "presentation",
31
- "11": "questionnaire",
32
- "12": "resume",
33
- "13": "scientific_publication",
34
- "14": "scientific_report",
35
- "15": "specification"
36
- },
37
- "image_size": 224,
38
- "initializer_range": 0.02,
39
- "label2id": {
40
- "advertisement": 0,
41
- "budget": 1,
42
- "email": 2,
43
- "file_folder": 3,
44
- "form": 4,
45
- "handwritten": 5,
46
- "invoice": 6,
47
- "letter": 7,
48
- "memo": 8,
49
- "news_article": 9,
50
- "presentation": 10,
51
- "questionnaire": 11,
52
- "resume": 12,
53
- "scientific_publication": 13,
54
- "scientific_report": 14,
55
- "specification": 15
56
- },
57
- "layer_norm_eps": 1e-05,
58
- "mlp_ratio": 4.0,
59
- "model_type": "swin",
60
- "num_channels": 3,
61
- "num_heads": [
62
- 3,
63
- 6,
64
- 12,
65
- 24
66
- ],
67
- "num_layers": 4,
68
- "out_features": [
69
- "stage4"
70
- ],
71
- "out_indices": [
72
- 4
73
- ],
74
- "patch_size": 4,
75
- "path_norm": true,
76
- "problem_type": "single_label_classification",
77
- "qkv_bias": true,
78
- "stage_names": [
79
- "stem",
80
- "stage1",
81
- "stage2",
82
- "stage3",
83
- "stage4"
84
- ],
85
- "torch_dtype": "float32",
86
- "transformers_version": "4.41.2",
87
- "use_absolute_embeddings": false,
88
- "window_size": 7
89
- }
 
1
+ {
2
+ "_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
+ "id2label": {
20
+ "0": "advertisement",
21
+ "1": "budget",
22
+ "2": "email",
23
+ "3": "file_folder",
24
+ "4": "form",
25
+ "5": "handwritten",
26
+ "6": "invoice",
27
+ "7": "letter",
28
+ "8": "memo",
29
+ "9": "news_article",
30
+ "10": "presentation",
31
+ "11": "questionnaire",
32
+ "12": "resume",
33
+ "13": "scientific_publication",
34
+ "14": "scientific_report",
35
+ "15": "specification"
36
+ },
37
+ "image_size": 224,
38
+ "initializer_range": 0.02,
39
+ "label2id": {
40
+ "advertisement": 0,
41
+ "budget": 1,
42
+ "email": 2,
43
+ "file_folder": 3,
44
+ "form": 4,
45
+ "handwritten": 5,
46
+ "invoice": 6,
47
+ "letter": 7,
48
+ "memo": 8,
49
+ "news_article": 9,
50
+ "presentation": 10,
51
+ "questionnaire": 11,
52
+ "resume": 12,
53
+ "scientific_publication": 13,
54
+ "scientific_report": 14,
55
+ "specification": 15
56
+ },
57
+ "layer_norm_eps": 1e-05,
58
+ "mlp_ratio": 4.0,
59
+ "model_type": "swin",
60
+ "num_channels": 3,
61
+ "num_heads": [
62
+ 3,
63
+ 6,
64
+ 12,
65
+ 24
66
+ ],
67
+ "num_layers": 4,
68
+ "out_features": [
69
+ "stage4"
70
+ ],
71
+ "out_indices": [
72
+ 4
73
+ ],
74
+ "patch_size": 4,
75
+ "path_norm": true,
76
+ "problem_type": "single_label_classification",
77
+ "qkv_bias": true,
78
+ "stage_names": [
79
+ "stem",
80
+ "stage1",
81
+ "stage2",
82
+ "stage3",
83
+ "stage4"
84
+ ],
85
+ "torch_dtype": "float32",
86
+ "transformers_version": "4.41.2",
87
+ "use_absolute_embeddings": false,
88
+ "window_size": 7
89
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:923f5d0deaac39aa7a98530e39e594c70c050e0a894362193aaad6d3d5fdbeb1
3
  size 110385904
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a5294720d5f6ecfd25a18f13ec68b9ca9ab2fc15af41a160547893517626b3a
3
  size 110385904
preprocessor_config.json CHANGED
@@ -1,36 +1,36 @@
1
- {
2
- "_valid_processor_keys": [
3
- "images",
4
- "do_resize",
5
- "size",
6
- "resample",
7
- "do_rescale",
8
- "rescale_factor",
9
- "do_normalize",
10
- "image_mean",
11
- "image_std",
12
- "return_tensors",
13
- "data_format",
14
- "input_data_format"
15
- ],
16
- "do_normalize": true,
17
- "do_rescale": true,
18
- "do_resize": true,
19
- "image_mean": [
20
- 0.485,
21
- 0.456,
22
- 0.406
23
- ],
24
- "image_processor_type": "ViTImageProcessor",
25
- "image_std": [
26
- 0.229,
27
- 0.224,
28
- 0.225
29
- ],
30
- "resample": 3,
31
- "rescale_factor": 0.00392156862745098,
32
- "size": {
33
- "height": 224,
34
- "width": 224
35
- }
36
- }
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.485,
21
+ 0.456,
22
+ 0.406
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.229,
27
+ 0.224,
28
+ 0.225
29
+ ],
30
+ "resample": 3,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7cf70ebb7b6cb1a9317c1a5ffcfc23d0286178152f3b48a8a7e4b998b2bd93a6
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7becb89858b72b1c68aee8a7a5cbc11d67e383f0968e32753bc98e0d1d013693
3
  size 5176