Commit ·
1e8ee66
1
Parent(s): 99770e0
Upload LayoutLMv3ForTokenClassification
Browse files- config.json +7 -7
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/mnt/nvme-data1/bhanu/code-bases/papertoweb/train_scripts/funsd-finetuned/best_model",
|
| 3 |
"architectures": [
|
| 4 |
"LayoutLMv3ForTokenClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
| 8 |
"classifier_dropout": null,
|
| 9 |
-
"coordinate_size":
|
| 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":
|
| 16 |
"id2label": {
|
| 17 |
"0": "O",
|
| 18 |
"1": "B-HEADER",
|
|
@@ -24,7 +24,7 @@
|
|
| 24 |
},
|
| 25 |
"initializer_range": 0.02,
|
| 26 |
"input_size": 224,
|
| 27 |
-
"intermediate_size":
|
| 28 |
"label2id": {
|
| 29 |
"B-ANSWER": 5,
|
| 30 |
"B-HEADER": 1,
|
|
@@ -40,15 +40,15 @@
|
|
| 40 |
"max_rel_2d_pos": 256,
|
| 41 |
"max_rel_pos": 128,
|
| 42 |
"model_type": "layoutlmv3",
|
| 43 |
-
"num_attention_heads":
|
| 44 |
"num_channels": 3,
|
| 45 |
-
"num_hidden_layers":
|
| 46 |
"pad_token_id": 1,
|
| 47 |
"patch_size": 16,
|
| 48 |
"rel_2d_pos_bins": 64,
|
| 49 |
"rel_pos_bins": 32,
|
| 50 |
"second_input_size": 112,
|
| 51 |
-
"shape_size":
|
| 52 |
"text_embed": true,
|
| 53 |
"torch_dtype": "float32",
|
| 54 |
"transformers_version": "4.22.0.dev0",
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/mnt/nvme-data1/bhanu/code-bases/papertoweb/train_scripts/funsd-finetuned-large/best_model",
|
| 3 |
"architectures": [
|
| 4 |
"LayoutLMv3ForTokenClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
| 8 |
"classifier_dropout": null,
|
| 9 |
+
"coordinate_size": 171,
|
| 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": 1024,
|
| 16 |
"id2label": {
|
| 17 |
"0": "O",
|
| 18 |
"1": "B-HEADER",
|
|
|
|
| 24 |
},
|
| 25 |
"initializer_range": 0.02,
|
| 26 |
"input_size": 224,
|
| 27 |
+
"intermediate_size": 4096,
|
| 28 |
"label2id": {
|
| 29 |
"B-ANSWER": 5,
|
| 30 |
"B-HEADER": 1,
|
|
|
|
| 40 |
"max_rel_2d_pos": 256,
|
| 41 |
"max_rel_pos": 128,
|
| 42 |
"model_type": "layoutlmv3",
|
| 43 |
+
"num_attention_heads": 16,
|
| 44 |
"num_channels": 3,
|
| 45 |
+
"num_hidden_layers": 24,
|
| 46 |
"pad_token_id": 1,
|
| 47 |
"patch_size": 16,
|
| 48 |
"rel_2d_pos_bins": 64,
|
| 49 |
"rel_pos_bins": 32,
|
| 50 |
"second_input_size": 112,
|
| 51 |
+
"shape_size": 170,
|
| 52 |
"text_embed": true,
|
| 53 |
"torch_dtype": "float32",
|
| 54 |
"transformers_version": "4.22.0.dev0",
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c47badeb4302730457d9af03af9a8b25b205d48c9b24c3c579af86fbf7cab425
|
| 3 |
+
size 1424187027
|