Instructions to use aslessor/layoutlm-funsd-tf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aslessor/layoutlm-funsd-tf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="aslessor/layoutlm-funsd-tf")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("aslessor/layoutlm-funsd-tf") model = AutoModelForTokenClassification.from_pretrained("aslessor/layoutlm-funsd-tf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress epoch 6
Browse files
README.md
CHANGED
|
@@ -15,13 +15,13 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 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: 0.
|
| 19 |
-
- Validation Loss: 1.
|
| 20 |
-
- Train Overall Precision: 0.
|
| 21 |
- Train Overall Recall: 0.5625
|
| 22 |
-
- Train Overall F1: 0.
|
| 23 |
-
- Train Overall Accuracy: 0.
|
| 24 |
-
- Epoch:
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -53,6 +53,7 @@ The following hyperparameters were used during training:
|
|
| 53 |
| 1.0088 | 1.1098 | 0.3871 | 0.5198 | 0.4438 | 0.5737 | 3 |
|
| 54 |
| 0.8868 | 1.0295 | 0.4061 | 0.5569 | 0.4697 | 0.6159 | 4 |
|
| 55 |
| 0.7747 | 1.1882 | 0.4507 | 0.5625 | 0.5004 | 0.6062 | 5 |
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
|
|
|
| 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: 0.6577
|
| 19 |
+
- Validation Loss: 1.0658
|
| 20 |
+
- Train Overall Precision: 0.4760
|
| 21 |
- Train Overall Recall: 0.5625
|
| 22 |
+
- Train Overall F1: 0.5156
|
| 23 |
+
- Train Overall Accuracy: 0.6305
|
| 24 |
+
- Epoch: 6
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 53 |
| 1.0088 | 1.1098 | 0.3871 | 0.5198 | 0.4438 | 0.5737 | 3 |
|
| 54 |
| 0.8868 | 1.0295 | 0.4061 | 0.5569 | 0.4697 | 0.6159 | 4 |
|
| 55 |
| 0.7747 | 1.1882 | 0.4507 | 0.5625 | 0.5004 | 0.6062 | 5 |
|
| 56 |
+
| 0.6577 | 1.0658 | 0.4760 | 0.5625 | 0.5156 | 0.6305 | 6 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
logs/train/events.out.tfevents.1708193273.a36882b8c31e.167.0.v2
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:9e522ada626fe9ea2ea3012a73fdba7e08a2a7ca17add5489174856786b7e6e5
|
| 3 |
+
size 2365343
|
logs/validation/events.out.tfevents.1708194253.a36882b8c31e.167.1.v2
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:24cb2c98cfae9d62e2a8566439ea024ae05c20134c4cc5421b0265b91ce262da
|
| 3 |
+
size 1161
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 450829256
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:237f867867b042614655581b4f715c848bdcefc80af6e354d2155d0d5e558ea9
|
| 3 |
size 450829256
|