Training in progress epoch 0
Browse files- README.md +56 -0
- config.json +44 -0
- logs/train/events.out.tfevents.1675181161.LSLAPTOP12-LNX.19975.0.v2 +3 -0
- logs/train/events.out.tfevents.1675181235.LSLAPTOP12-LNX.19975.1.v2 +3 -0
- logs/train/events.out.tfevents.1675181842.LSLAPTOP12-LNX.19975.2.v2 +3 -0
- logs/train/events.out.tfevents.1675182416.LSLAPTOP12-LNX.22659.0.v2 +3 -0
- logs/validation/events.out.tfevents.1675182494.LSLAPTOP12-LNX.22659.1.v2 +3 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
model-index:
|
5 |
+
- name: Mustafa21/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 |
+
# Mustafa21/layoutlm-funsd-tf
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- Train Loss: 1.1546
|
17 |
+
- Validation Loss: 0.6939
|
18 |
+
- Train Overall Precision: 0.6387
|
19 |
+
- Train Overall Recall: 0.7381
|
20 |
+
- Train Overall F1: 0.6848
|
21 |
+
- Train Overall Accuracy: 0.7761
|
22 |
+
- Epoch: 0
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 3e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
42 |
+
- training_precision: mixed_float16
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
| Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
|
47 |
+
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
48 |
+
| 1.1546 | 0.6939 | 0.6387 | 0.7381 | 0.6848 | 0.7761 | 0 |
|
49 |
+
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.26.0
|
54 |
+
- TensorFlow 2.10.0
|
55 |
+
- Datasets 2.9.0
|
56 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlm-base-uncased",
|
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.0",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 30522
|
44 |
+
}
|
logs/train/events.out.tfevents.1675181161.LSLAPTOP12-LNX.19975.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:217e226242f72c4314c499c862030fab8ae0ae7258f42eb8ebb7d2ac5e976e1f
|
3 |
+
size 40
|
logs/train/events.out.tfevents.1675181235.LSLAPTOP12-LNX.19975.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e04e25f966f07938bdfa5d391fc2075f4a7e938447aa48dfff3d4aa213fa339
|
3 |
+
size 40
|
logs/train/events.out.tfevents.1675181842.LSLAPTOP12-LNX.19975.2.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da003b8886d76598b4b6adebb63346e5db0e9609199ff0e2b72409110f640b1b
|
3 |
+
size 40
|
logs/train/events.out.tfevents.1675182416.LSLAPTOP12-LNX.22659.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c11777a0cc598cad7ded7e3fb2b6fc6ffa308df3b7da2a2224f7a519cb9d35d7
|
3 |
+
size 2237113
|
logs/validation/events.out.tfevents.1675182494.LSLAPTOP12-LNX.22659.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4244c03db34cf098f75533b2da48be52b9c3369c6f3b83b9cbb8152b0f7ebf86
|
3 |
+
size 194
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7c5571115041aac301b2dbdf43c3a744e45532816ebff0e9d24d4a74ff439e9
|
3 |
+
size 450829256
|