NadaElmasry
commited on
Commit
·
7d5da05
1
Parent(s):
c58a236
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +60 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
- runs/Apr28_21-15-06_db1c4b2291fe/1682716686.7399755/events.out.tfevents.1682716686.db1c4b2291fe.23.4 +3 -0
- runs/Apr28_21-15-06_db1c4b2291fe/events.out.tfevents.1682716686.db1c4b2291fe.23.3 +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "chart",
|
21 |
+
"1": "math",
|
22 |
+
"2": "scene",
|
23 |
+
"3": "text"
|
24 |
+
},
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"chart": 0,
|
29 |
+
"math": 1,
|
30 |
+
"scene": 2,
|
31 |
+
"text": 3
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"mlp_ratio": 4.0,
|
35 |
+
"model_type": "swin",
|
36 |
+
"num_channels": 3,
|
37 |
+
"num_heads": [
|
38 |
+
3,
|
39 |
+
6,
|
40 |
+
12,
|
41 |
+
24
|
42 |
+
],
|
43 |
+
"num_layers": 4,
|
44 |
+
"out_features": null,
|
45 |
+
"patch_size": 4,
|
46 |
+
"path_norm": true,
|
47 |
+
"problem_type": "single_label_classification",
|
48 |
+
"qkv_bias": true,
|
49 |
+
"stage_names": [
|
50 |
+
"stem",
|
51 |
+
"stage1",
|
52 |
+
"stage2",
|
53 |
+
"stage3",
|
54 |
+
"stage4"
|
55 |
+
],
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.27.4",
|
58 |
+
"use_absolute_embeddings": false,
|
59 |
+
"window_size": 7
|
60 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTFeatureExtractor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbec8da93a9d2c1383bc429023e017b842a70e7fab38bad6e10ea4f7b0e9599d
|
3 |
+
size 110401009
|
runs/Apr28_21-15-06_db1c4b2291fe/1682716686.7399755/events.out.tfevents.1682716686.db1c4b2291fe.23.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:daa2eb3555c198320cf919ae29fbd80b46fed3bb928721a0894b61477e5db8de
|
3 |
+
size 5878
|
runs/Apr28_21-15-06_db1c4b2291fe/events.out.tfevents.1682716686.db1c4b2291fe.23.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:877f73a6c530af851e1809552dbeb2bdafc02bcb9e4f1982d8ea7a3bd0e64663
|
3 |
+
size 8469
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea25b1adf5795e7f85b1084a888ca68a905d05c7045c6faf6546087ffd455c49
|
3 |
+
size 3643
|