Training in progress epoch 0
Browse files- README.md +11 -18
- config.json +28 -46
- tf_model.h5 +2 -2
README.md
CHANGED
@@ -1,27 +1,27 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
3 |
tags:
|
4 |
- generated_from_keras_callback
|
5 |
-
base_model: microsoft/layoutlm-base-uncased
|
6 |
model-index:
|
7 |
-
- name: layoutlm-cord-tf
|
8 |
results: []
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
probably proofread and complete it, then remove this comment. -->
|
13 |
|
14 |
-
# layoutlm-cord-tf
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Train Loss:
|
19 |
-
- Validation Loss:
|
20 |
-
- Train Overall Precision: 0.
|
21 |
-
- Train Overall Recall: 0.
|
22 |
-
- Train Overall F1: 0.
|
23 |
-
- Train Overall Accuracy: 0.
|
24 |
-
- Epoch:
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -47,14 +47,7 @@ The following hyperparameters were used during training:
|
|
47 |
|
48 |
| Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
|
49 |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
50 |
-
|
|
51 |
-
| 0.3842 | 0.2602 | 0.9121 | 0.9155 | 0.9138 | 0.9406 | 1 |
|
52 |
-
| 0.2075 | 0.2085 | 0.9257 | 0.9201 | 0.9229 | 0.9453 | 2 |
|
53 |
-
| 0.1377 | 0.1793 | 0.9368 | 0.9368 | 0.9368 | 0.9555 | 3 |
|
54 |
-
| 0.0889 | 0.1902 | 0.9282 | 0.9346 | 0.9314 | 0.9525 | 4 |
|
55 |
-
| 0.0747 | 0.1610 | 0.9455 | 0.9513 | 0.9484 | 0.9648 | 5 |
|
56 |
-
| 0.0514 | 0.1796 | 0.9480 | 0.9566 | 0.9523 | 0.9639 | 6 |
|
57 |
-
| 0.0379 | 0.1673 | 0.9428 | 0.9528 | 0.9478 | 0.9605 | 7 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: microsoft/layoutlm-base-uncased
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
|
|
6 |
model-index:
|
7 |
+
- name: cor-c/layoutlm-cord-tf
|
8 |
results: []
|
9 |
---
|
10 |
|
11 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
probably proofread and complete it, then remove this comment. -->
|
13 |
|
14 |
+
# cor-c/layoutlm-cord-tf
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 2.3801
|
19 |
+
- Validation Loss: 2.0295
|
20 |
+
- Train Overall Precision: 0.0036
|
21 |
+
- Train Overall Recall: 0.0025
|
22 |
+
- Train Overall F1: 0.0030
|
23 |
+
- Train Overall Accuracy: 0.3419
|
24 |
+
- Epoch: 0
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
47 |
|
48 |
| Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
|
49 |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
50 |
+
| 2.3801 | 2.0295 | 0.0036 | 0.0025 | 0.0030 | 0.3419 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
|
53 |
### Framework versions
|
config.json
CHANGED
@@ -8,56 +8,38 @@
|
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
-
"0": "
|
12 |
-
"1": "
|
13 |
-
"2": "
|
14 |
-
"3": "
|
15 |
-
"4": "
|
16 |
-
"5": "
|
17 |
-
"6": "
|
18 |
-
"7": "
|
19 |
-
"8": "
|
20 |
-
"9": "
|
21 |
-
"10": "
|
22 |
-
"11": "
|
23 |
-
"12": "
|
24 |
-
"13": "
|
25 |
-
"14": "I-sub_total.tax_price",
|
26 |
-
"15": "I-total.cashprice",
|
27 |
-
"16": "I-total.changeprice",
|
28 |
-
"17": "I-total.creditcardprice",
|
29 |
-
"18": "I-total.emoneyprice",
|
30 |
-
"19": "I-total.menuqty_cnt",
|
31 |
-
"20": "I-total.menutype_cnt",
|
32 |
-
"21": "I-total.total_etc",
|
33 |
-
"22": "I-total.total_price"
|
34 |
},
|
35 |
"initializer_range": 0.02,
|
36 |
"intermediate_size": 3072,
|
37 |
"label2id": {
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"I-total.cashprice": 15,
|
53 |
-
"I-total.changeprice": 16,
|
54 |
-
"I-total.creditcardprice": 17,
|
55 |
-
"I-total.emoneyprice": 18,
|
56 |
-
"I-total.menuqty_cnt": 19,
|
57 |
-
"I-total.menutype_cnt": 20,
|
58 |
-
"I-total.total_etc": 21,
|
59 |
-
"I-total.total_price": 22,
|
60 |
-
"O": 0
|
61 |
},
|
62 |
"layer_norm_eps": 1e-12,
|
63 |
"max_2d_position_embeddings": 1024,
|
|
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
+
"0": "document.type",
|
12 |
+
"1": "date.invoice",
|
13 |
+
"2": "number.invoice",
|
14 |
+
"3": "duedate.invoice",
|
15 |
+
"4": "goods.info",
|
16 |
+
"5": "total.total",
|
17 |
+
"6": "discount.total",
|
18 |
+
"7": "net.total",
|
19 |
+
"8": "vat.total",
|
20 |
+
"9": "other",
|
21 |
+
"10": "name.supplier",
|
22 |
+
"11": "info.supplier",
|
23 |
+
"12": "name.client",
|
24 |
+
"13": "info.client"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
28 |
"label2id": {
|
29 |
+
"date.invoice": 1,
|
30 |
+
"discount.total": 6,
|
31 |
+
"document.type": 0,
|
32 |
+
"duedate.invoice": 3,
|
33 |
+
"goods.info": 4,
|
34 |
+
"info.client": 13,
|
35 |
+
"info.supplier": 11,
|
36 |
+
"name.client": 12,
|
37 |
+
"name.supplier": 10,
|
38 |
+
"net.total": 7,
|
39 |
+
"number.invoice": 2,
|
40 |
+
"other": 9,
|
41 |
+
"total.total": 5,
|
42 |
+
"vat.total": 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
},
|
44 |
"layer_norm_eps": 1e-12,
|
45 |
"max_2d_position_embeddings": 1024,
|
tf_model.h5
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:d784007aeb3ab2f7cf44e495565d883829b2bc92f9386c63ec25a1a6e2e6db56
|
3 |
+
size 450850760
|