anikde commited on
Commit
6bd8d42
·
verified ·
1 Parent(s): a53b684

12Classes files uploaded

Browse files
IndicPhotoOCR/script_identification/vit/models/12_classes/config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": 768,
11
+ "id2label": {
12
+ "0": "hindi",
13
+ "1": "english",
14
+ "10": "tamil",
15
+ "11": "telugu",
16
+ "2": "gujarati",
17
+ "3": "punjabi",
18
+ "4": "assamese",
19
+ "5": "bengali",
20
+ "6": "kannada",
21
+ "7": "malayalam",
22
+ "8": "marathi",
23
+ "9": "odia"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "assamese": "4",
30
+ "bengali": "5",
31
+ "english": "1",
32
+ "gujarati": "2",
33
+ "hindi": "0",
34
+ "kannada": "6",
35
+ "malayalam": "7",
36
+ "marathi": "8",
37
+ "odia": "9",
38
+ "punjabi": "3",
39
+ "tamil": "10",
40
+ "telugu": "11"
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "model_type": "vit",
44
+ "num_attention_heads": 12,
45
+ "num_channels": 3,
46
+ "num_hidden_layers": 12,
47
+ "patch_size": 16,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.48.1"
52
+ }
IndicPhotoOCR/script_identification/vit/models/12_classes/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4d7aaf02bacb785c6fbd25ac76d3f87f0d79cb5ed88aa55e4fb55b7a9587456
3
+ size 343254736
IndicPhotoOCR/script_identification/vit/models/12_classes/preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessorFast",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
IndicPhotoOCR/script_identification/vit/models/12_classes/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a217a90b1779de6e47aa8b9f30eaf1a1d7a912a90da9993cfba65e3eabf5744
3
+ size 5304