Chemsseddine
commited on
Commit
·
e4d7607
1
Parent(s):
1b7780e
Upload LayoutLMv3ForTokenClassification
Browse files- config.json +110 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/checkpoint-5800",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv3ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"coordinate_size": 128,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"has_relative_attention_bias": true,
|
12 |
+
"has_spatial_attention_bias": true,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "O",
|
18 |
+
"1": "B-ABSORPTION_ACOUSTIQUE",
|
19 |
+
"2": "B-CODE_DU_PRODUIT",
|
20 |
+
"3": "B-CONDUCTIVITE",
|
21 |
+
"4": "B-DATE",
|
22 |
+
"5": "B-EPAISSEUR_MAX",
|
23 |
+
"6": "B-EPAISSEUR_MIN",
|
24 |
+
"7": "B-FOURNISSEUR",
|
25 |
+
"8": "B-INDICE_DISOLEMENT_AUX_BRUITS_AERIENS_DIRECTS",
|
26 |
+
"9": "B-NOM",
|
27 |
+
"10": "B-PERMEABILITE_A_LA_VAPEUR_DEAU",
|
28 |
+
"11": "B-REACTION_AU_FEU",
|
29 |
+
"12": "B-RESISTANCE_A LA_FLEXION",
|
30 |
+
"13": "B-RESISTANCE_MAX",
|
31 |
+
"14": "B-RESISTANCE_MIN",
|
32 |
+
"15": "B-USAGE",
|
33 |
+
"16": "I-ABSORPTION_ACOUSTIQUE",
|
34 |
+
"17": "I-CODE_DU_PRODUIT",
|
35 |
+
"18": "I-CONDUCTIVITE",
|
36 |
+
"19": "I-DATE",
|
37 |
+
"20": "I-EPAISSEUR_MAX",
|
38 |
+
"21": "I-EPAISSEUR_MIN",
|
39 |
+
"22": "I-FOURNISSEUR",
|
40 |
+
"23": "I-INDICE_DISOLEMENT_AUX_BRUITS_AERIENS_DIRECTS",
|
41 |
+
"24": "I-NOM",
|
42 |
+
"25": "I-PERMEABILITE_A_LA_VAPEUR_DEAU",
|
43 |
+
"26": "I-REACTION_AU_FEU",
|
44 |
+
"27": "I-RESISTANCE_A LA_FLEXION",
|
45 |
+
"28": "I-RESISTANCE_MAX",
|
46 |
+
"29": "I-RESISTANCE_MIN",
|
47 |
+
"30": "I-USAGE",
|
48 |
+
"31": "B-OTHER",
|
49 |
+
"32": "I-OTHER"
|
50 |
+
},
|
51 |
+
"initializer_range": 0.02,
|
52 |
+
"input_size": 224,
|
53 |
+
"intermediate_size": 3072,
|
54 |
+
"label2id": {
|
55 |
+
"B-ABSORPTION_ACOUSTIQUE": 1,
|
56 |
+
"B-CODE_DU_PRODUIT": 2,
|
57 |
+
"B-CONDUCTIVITE": 3,
|
58 |
+
"B-DATE": 4,
|
59 |
+
"B-EPAISSEUR_MAX": 5,
|
60 |
+
"B-EPAISSEUR_MIN": 6,
|
61 |
+
"B-FOURNISSEUR": 7,
|
62 |
+
"B-INDICE_DISOLEMENT_AUX_BRUITS_AERIENS_DIRECTS": 8,
|
63 |
+
"B-NOM": 9,
|
64 |
+
"B-OTHER": 31,
|
65 |
+
"B-PERMEABILITE_A_LA_VAPEUR_DEAU": 10,
|
66 |
+
"B-REACTION_AU_FEU": 11,
|
67 |
+
"B-RESISTANCE_A LA_FLEXION": 12,
|
68 |
+
"B-RESISTANCE_MAX": 13,
|
69 |
+
"B-RESISTANCE_MIN": 14,
|
70 |
+
"B-USAGE": 15,
|
71 |
+
"I-ABSORPTION_ACOUSTIQUE": 16,
|
72 |
+
"I-CODE_DU_PRODUIT": 17,
|
73 |
+
"I-CONDUCTIVITE": 18,
|
74 |
+
"I-DATE": 19,
|
75 |
+
"I-EPAISSEUR_MAX": 20,
|
76 |
+
"I-EPAISSEUR_MIN": 21,
|
77 |
+
"I-FOURNISSEUR": 22,
|
78 |
+
"I-INDICE_DISOLEMENT_AUX_BRUITS_AERIENS_DIRECTS": 23,
|
79 |
+
"I-NOM": 24,
|
80 |
+
"I-OTHER": 32,
|
81 |
+
"I-PERMEABILITE_A_LA_VAPEUR_DEAU": 25,
|
82 |
+
"I-REACTION_AU_FEU": 26,
|
83 |
+
"I-RESISTANCE_A LA_FLEXION": 27,
|
84 |
+
"I-RESISTANCE_MAX": 28,
|
85 |
+
"I-RESISTANCE_MIN": 29,
|
86 |
+
"I-USAGE": 30,
|
87 |
+
"O": 0
|
88 |
+
},
|
89 |
+
"layer_norm_eps": 1e-05,
|
90 |
+
"max_2d_position_embeddings": 1024,
|
91 |
+
"max_position_embeddings": 514,
|
92 |
+
"max_rel_2d_pos": 256,
|
93 |
+
"max_rel_pos": 128,
|
94 |
+
"model_type": "layoutlmv3",
|
95 |
+
"num_attention_heads": 12,
|
96 |
+
"num_channels": 3,
|
97 |
+
"num_hidden_layers": 12,
|
98 |
+
"pad_token_id": 1,
|
99 |
+
"patch_size": 16,
|
100 |
+
"rel_2d_pos_bins": 64,
|
101 |
+
"rel_pos_bins": 32,
|
102 |
+
"second_input_size": 112,
|
103 |
+
"shape_size": 128,
|
104 |
+
"text_embed": true,
|
105 |
+
"torch_dtype": "float32",
|
106 |
+
"transformers_version": "4.28.1",
|
107 |
+
"type_vocab_size": 1,
|
108 |
+
"visual_embed": true,
|
109 |
+
"vocab_size": 50265
|
110 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bf3368964685f05b86de541bd57fef0bb22eb1069c2f00b64c57273f40f3dc5
|
3 |
+
size 503847793
|