Kushagra07
commited on
Commit
•
0dfcd6a
1
Parent(s):
629c47a
Training in progress, epoch 0
Browse files
config.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/dit-base-finetuned-rvlcdip",
|
3 |
+
"add_fpn": false,
|
4 |
+
"architectures": [
|
5 |
+
"BeitForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"auxiliary_channels": 256,
|
9 |
+
"auxiliary_concat_input": false,
|
10 |
+
"auxiliary_loss_weight": 0.4,
|
11 |
+
"auxiliary_num_convs": 1,
|
12 |
+
"drop_path_rate": 0.1,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "AadhaarBack",
|
18 |
+
"1": "AadhaarBackMasked",
|
19 |
+
"10": "PanCard",
|
20 |
+
"11": "PassportFirst",
|
21 |
+
"12": "PassportLast",
|
22 |
+
"13": "PassportRegular",
|
23 |
+
"14": "VoterCardBack",
|
24 |
+
"15": "VoterCardFront",
|
25 |
+
"16": "VoterCardRegular",
|
26 |
+
"2": "AadhaarFront",
|
27 |
+
"3": "AadhaarFrontMasked",
|
28 |
+
"4": "AadhaarRegular",
|
29 |
+
"5": "AadhaarRegularMasked",
|
30 |
+
"6": "AadhaarSelfGenerated",
|
31 |
+
"7": "DrivingLicenseNew",
|
32 |
+
"8": "DrivingLicenseOld",
|
33 |
+
"9": "MultipleOVDs"
|
34 |
+
},
|
35 |
+
"image_size": 224,
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"label2id": {
|
39 |
+
"AadhaarBack": "0",
|
40 |
+
"AadhaarBackMasked": "1",
|
41 |
+
"AadhaarFront": "2",
|
42 |
+
"AadhaarFrontMasked": "3",
|
43 |
+
"AadhaarRegular": "4",
|
44 |
+
"AadhaarRegularMasked": "5",
|
45 |
+
"AadhaarSelfGenerated": "6",
|
46 |
+
"DrivingLicenseNew": "7",
|
47 |
+
"DrivingLicenseOld": "8",
|
48 |
+
"MultipleOVDs": "9",
|
49 |
+
"PanCard": "10",
|
50 |
+
"PassportFirst": "11",
|
51 |
+
"PassportLast": "12",
|
52 |
+
"PassportRegular": "13",
|
53 |
+
"VoterCardBack": "14",
|
54 |
+
"VoterCardFront": "15",
|
55 |
+
"VoterCardRegular": "16"
|
56 |
+
},
|
57 |
+
"layer_norm_eps": 1e-12,
|
58 |
+
"layer_scale_init_value": 0.1,
|
59 |
+
"model_type": "beit",
|
60 |
+
"num_attention_heads": 12,
|
61 |
+
"num_channels": 3,
|
62 |
+
"num_hidden_layers": 12,
|
63 |
+
"out_features": [
|
64 |
+
"stage3",
|
65 |
+
"stage5",
|
66 |
+
"stage7",
|
67 |
+
"stage11"
|
68 |
+
],
|
69 |
+
"out_indices": [
|
70 |
+
3,
|
71 |
+
5,
|
72 |
+
7,
|
73 |
+
11
|
74 |
+
],
|
75 |
+
"patch_size": 16,
|
76 |
+
"pool_scales": [
|
77 |
+
1,
|
78 |
+
2,
|
79 |
+
3,
|
80 |
+
6
|
81 |
+
],
|
82 |
+
"problem_type": "single_label_classification",
|
83 |
+
"reshape_hidden_states": true,
|
84 |
+
"semantic_loss_ignore_index": 255,
|
85 |
+
"stage_names": [
|
86 |
+
"stem",
|
87 |
+
"stage1",
|
88 |
+
"stage2",
|
89 |
+
"stage3",
|
90 |
+
"stage4",
|
91 |
+
"stage5",
|
92 |
+
"stage6",
|
93 |
+
"stage7",
|
94 |
+
"stage8",
|
95 |
+
"stage9",
|
96 |
+
"stage10",
|
97 |
+
"stage11",
|
98 |
+
"stage12"
|
99 |
+
],
|
100 |
+
"torch_dtype": "float32",
|
101 |
+
"transformers_version": "4.40.1",
|
102 |
+
"use_absolute_position_embeddings": true,
|
103 |
+
"use_auxiliary_head": true,
|
104 |
+
"use_mask_token": false,
|
105 |
+
"use_mean_pooling": true,
|
106 |
+
"use_relative_position_bias": false,
|
107 |
+
"use_shared_relative_position_bias": false,
|
108 |
+
"vocab_size": 8192
|
109 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3076146b955967ebaabf6d015cb974bdc4fb4a77d46e115ad3e5e04f0ec41b7
|
3 |
+
size 343308156
|
preprocessor_config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"segmentation_maps",
|
5 |
+
"do_resize",
|
6 |
+
"size",
|
7 |
+
"resample",
|
8 |
+
"do_center_crop",
|
9 |
+
"crop_size",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"image_mean",
|
14 |
+
"image_std",
|
15 |
+
"do_reduce_labels",
|
16 |
+
"return_tensors",
|
17 |
+
"data_format",
|
18 |
+
"input_data_format"
|
19 |
+
],
|
20 |
+
"crop_size": {
|
21 |
+
"height": 224,
|
22 |
+
"width": 224
|
23 |
+
},
|
24 |
+
"do_center_crop": false,
|
25 |
+
"do_normalize": true,
|
26 |
+
"do_reduce_labels": false,
|
27 |
+
"do_rescale": true,
|
28 |
+
"do_resize": true,
|
29 |
+
"image_mean": [
|
30 |
+
0.5,
|
31 |
+
0.5,
|
32 |
+
0.5
|
33 |
+
],
|
34 |
+
"image_processor_type": "BeitImageProcessor",
|
35 |
+
"image_std": [
|
36 |
+
0.5,
|
37 |
+
0.5,
|
38 |
+
0.5
|
39 |
+
],
|
40 |
+
"resample": 2,
|
41 |
+
"rescale_factor": 0.00392156862745098,
|
42 |
+
"size": {
|
43 |
+
"height": 224,
|
44 |
+
"width": 224
|
45 |
+
}
|
46 |
+
}
|
runs/May02_07-12-31_60f4804cf903/events.out.tfevents.1714633953.60f4804cf903.4668.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea9bd417eb5c9325436e6cd27dc76a87ae7cd6ecdb3925733ad7e64703eebdbc
|
3 |
+
size 18041
|
runs/May02_07-17-24_60f4804cf903/events.out.tfevents.1714634246.60f4804cf903.5533.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f316f243762ad9f0f6f3ea9993593b9bde26931ced0e33109d04a0a5ff0544e
|
3 |
+
size 13188
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:629c175862c8faff648a31ea6e5ec4ddee6febe4aff316ea1dbfc1fd6ecbaa93
|
3 |
+
size 5112
|