Gutema Fite
commited on
Commit
•
0a80744
1
Parent(s):
9863ac0
Training in progress epoch 0
Browse files- README.md +59 -0
- config.json +43 -0
- logs/train/events.out.tfevents.1730117469.ARCHIVE-ASSISTA.9672.0.v2 +3 -0
- logs/train/events.out.tfevents.1730117900.ARCHIVE-ASSISTA.9672.1.v2 +3 -0
- logs/train/events.out.tfevents.1730118001.ARCHIVE-ASSISTA.9672.2.v2 +3 -0
- logs/train/events.out.tfevents.1730118045.ARCHIVE-ASSISTA.14056.0.v2 +3 -0
- logs/validation/events.out.tfevents.1730118104.ARCHIVE-ASSISTA.14056.1.v2 +3 -0
- tf_model.h5 +3 -0
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: Gutema/layoutlm-funsd-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 |
+
# Gutema/layoutlm-funsd-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: 1.6885
|
20 |
+
- Validation Loss: 1.3544
|
21 |
+
- Train Overall Precision: 0.2506
|
22 |
+
- Train Overall Recall: 0.2534
|
23 |
+
- Train Overall F1: 0.2520
|
24 |
+
- Train Overall Accuracy: 0.5600
|
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': np.float32(3e-05), 'decay': 0.0, 'beta_1': np.float32(0.9), 'beta_2': np.float32(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 |
+
| 1.6885 | 1.3544 | 0.2506 | 0.2534 | 0.2520 | 0.5600 | 0 |
|
52 |
+
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.46.0
|
57 |
+
- TensorFlow 2.18.0
|
58 |
+
- Datasets 3.0.2
|
59 |
+
- Tokenizers 0.20.1
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-HEADER",
|
13 |
+
"2": "I-HEADER",
|
14 |
+
"3": "B-QUESTION",
|
15 |
+
"4": "I-QUESTION",
|
16 |
+
"5": "B-ANSWER",
|
17 |
+
"6": "I-ANSWER"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"B-ANSWER": 5,
|
23 |
+
"B-HEADER": 1,
|
24 |
+
"B-QUESTION": 3,
|
25 |
+
"I-ANSWER": 6,
|
26 |
+
"I-HEADER": 2,
|
27 |
+
"I-QUESTION": 4,
|
28 |
+
"O": 0
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
+
"max_2d_position_embeddings": 1024,
|
32 |
+
"max_position_embeddings": 512,
|
33 |
+
"model_type": "layoutlm",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_hidden_layers": 12,
|
36 |
+
"output_past": true,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"transformers_version": "4.46.0",
|
40 |
+
"type_vocab_size": 2,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 30522
|
43 |
+
}
|
logs/train/events.out.tfevents.1730117469.ARCHIVE-ASSISTA.9672.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b7c950465c2184832a68ae0e562ca869ddba3eec76bd1e70e6c68ab97ec07eb
|
3 |
+
size 78
|
logs/train/events.out.tfevents.1730117900.ARCHIVE-ASSISTA.9672.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf34c9ad361fe74f8da11e11417f76fcf252e12cf3cf938fcd169f81ba7b12ad
|
3 |
+
size 78
|
logs/train/events.out.tfevents.1730118001.ARCHIVE-ASSISTA.9672.2.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76d76ed0c572fb86009e6673c35d26e3d99fcbb9b570a8f39b49565769fbee2d
|
3 |
+
size 78
|
logs/train/events.out.tfevents.1730118045.ARCHIVE-ASSISTA.14056.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48f6a2a8a5575a408946b7d27b5bf84764166d8d286fe59855b958fc06760e55
|
3 |
+
size 2373111
|
logs/validation/events.out.tfevents.1730118104.ARCHIVE-ASSISTA.14056.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a483219f1dac463d6a0c81b5804f7032b2e5b0a00d1070ab15f9fb369fa8d7e
|
3 |
+
size 231
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39d6c39753fb651e8daee38eff915fd6de66d1f10dcae131081cccb607bf1e56
|
3 |
+
size 450829256
|