pbrennanwhite commited on
Commit
903837d
1 Parent(s): 633b6eb

Upload TFLayoutLMForTokenClassification

Browse files
Files changed (3) hide show
  1. README.md +47 -0
  2. config.json +44 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: layoutlm-funsd-tf
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
10
+ probably proofread and complete it, then remove this comment. -->
11
+
12
+ # layoutlm-funsd-tf
13
+
14
+ This model was trained from scratch on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - optimizer: None
36
+ - training_precision: mixed_float16
37
+
38
+ ### Training results
39
+
40
+
41
+
42
+ ### Framework versions
43
+
44
+ - Transformers 4.26.1
45
+ - TensorFlow 2.11.0
46
+ - Datasets 2.9.0
47
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "layoutlm-funsd-tf",
3
+ "architectures": [
4
+ "LayoutLMForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-HEADER",
14
+ "2": "I-HEADER",
15
+ "3": "B-QUESTION",
16
+ "4": "I-QUESTION",
17
+ "5": "B-ANSWER",
18
+ "6": "I-ANSWER"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "B-ANSWER": 5,
24
+ "B-HEADER": 1,
25
+ "B-QUESTION": 3,
26
+ "I-ANSWER": 6,
27
+ "I-HEADER": 2,
28
+ "I-QUESTION": 4,
29
+ "O": 0
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "max_2d_position_embeddings": 1024,
33
+ "max_position_embeddings": 512,
34
+ "model_type": "layoutlm",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
37
+ "output_past": true,
38
+ "pad_token_id": 0,
39
+ "position_embedding_type": "absolute",
40
+ "transformers_version": "4.26.1",
41
+ "type_vocab_size": 2,
42
+ "use_cache": true,
43
+ "vocab_size": 30522
44
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:440275ffa92d926383fc0a9480db433a8ffb5d8714da1018acd50ea2a7cad79e
3
+ size 450829256