Mehdi01 commited on
Commit
b946e33
·
1 Parent(s): 5a288ad

Training in progress epoch 0

Browse files
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/layoutlm-base-uncased
5
+ tags:
6
+ - generated_from_keras_callback
7
+ model-index:
8
+ - name: Mehdi01/layoutlm-SROIE-tf
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
13
+ probably proofread and complete it, then remove this comment. -->
14
+
15
+ # Mehdi01/layoutlm-SROIE-tf
16
+
17
+ This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Train Loss: 0.4238
20
+ - Validation Loss: 0.1257
21
+ - Train Overall Precision: 0.7483
22
+ - Train Overall Recall: 0.6535
23
+ - Train Overall F1: 0.6977
24
+ - Train Overall Accuracy: 0.9684
25
+ - Epoch: 0
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
45
+ - training_precision: mixed_float16
46
+
47
+ ### Training results
48
+
49
+ | Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
50
+ |:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
51
+ | 0.4238 | 0.1257 | 0.7483 | 0.6535 | 0.6977 | 0.9684 | 0 |
52
+
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.48.3
57
+ - TensorFlow 2.18.0
58
+ - Datasets 3.3.2
59
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlm-base-uncased",
3
+ "architectures": [
4
+ "LayoutLMForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "O",
12
+ "1": "B-COMPANY",
13
+ "2": "I-COMPANY",
14
+ "3": "B-DATE",
15
+ "4": "I-DATE",
16
+ "5": "B-ADDRESS",
17
+ "6": "I-ADDRESS",
18
+ "7": "B-TOTAL",
19
+ "8": "I-TOTAL"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "B-ADDRESS": 5,
25
+ "B-COMPANY": 1,
26
+ "B-DATE": 3,
27
+ "B-TOTAL": 7,
28
+ "I-ADDRESS": 6,
29
+ "I-COMPANY": 2,
30
+ "I-DATE": 4,
31
+ "I-TOTAL": 8,
32
+ "O": 0
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "max_2d_position_embeddings": 1024,
36
+ "max_position_embeddings": 512,
37
+ "model_type": "layoutlm",
38
+ "num_attention_heads": 12,
39
+ "num_hidden_layers": 12,
40
+ "output_past": true,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "transformers_version": "4.48.3",
44
+ "type_vocab_size": 2,
45
+ "use_cache": true,
46
+ "vocab_size": 30522
47
+ }
logs/train/events.out.tfevents.1741658746.77fec15f2e3c.1593.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e76d39c470be7e0abfa538b4f7c536db3847bd9c9aa84af91f9e3b71dc8e46b
3
+ size 2373111
logs/validation/events.out.tfevents.1741658774.77fec15f2e3c.1593.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae9f9d0e404ce2d930e95c4b728d64813ee03351f590180db42a8b1a80551267
3
+ size 231
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab15d219e773ae9f7ea66660a5bcc791a48438f841fcf6cb05d5f32b51270377
3
+ size 450835400