Amir Tahmasbi
commited on
Commit
·
8d599f8
1
Parent(s):
996147a
First version of tf layoutlm base
Browse files- config.json +23 -0
- tf_model.h5 +3 -0
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlm-base-uncased",
|
3 |
+
"attention_probs_dropout_prob": 0.1,
|
4 |
+
"gradient_checkpointing": false,
|
5 |
+
"hidden_act": "gelu",
|
6 |
+
"hidden_dropout_prob": 0.1,
|
7 |
+
"hidden_size": 768,
|
8 |
+
"initializer_range": 0.02,
|
9 |
+
"intermediate_size": 3072,
|
10 |
+
"layer_norm_eps": 1e-12,
|
11 |
+
"max_2d_position_embeddings": 1024,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "layoutlm",
|
14 |
+
"num_attention_heads": 12,
|
15 |
+
"num_hidden_layers": 12,
|
16 |
+
"output_past": true,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"position_embedding_type": "absolute",
|
19 |
+
"transformers_version": "4.4.0.dev0",
|
20 |
+
"type_vocab_size": 2,
|
21 |
+
"use_cache": true,
|
22 |
+
"vocab_size": 30522
|
23 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e54f47c023b343229b82721fe095e4a2ef40a36aa03b3a48270a332086a7e754
|
3 |
+
size 450781856
|