Instructions to use amresh564/layoutlm-funsd-tf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amresh564/layoutlm-funsd-tf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="amresh564/layoutlm-funsd-tf")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("amresh564/layoutlm-funsd-tf") model = AutoModelForTokenClassification.from_pretrained("amresh564/layoutlm-funsd-tf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress epoch 2
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: 1.
|
| 19 |
-
- Validation Loss: 1.
|
| 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 |
|
|
@@ -49,6 +49,7 @@ The following hyperparameters were used during training:
|
|
| 49 |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
| 50 |
| 1.6755 | 1.4053 | 0.1523 | 0.2730 | 0.1955 | 0.4103 | 0 |
|
| 51 |
| 1.3298 | 1.2494 | 0.2860 | 0.4551 | 0.3513 | 0.4989 | 1 |
|
|
|
|
| 52 |
|
| 53 |
|
| 54 |
### 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: 1.1645
|
| 19 |
+
- Validation Loss: 1.1716
|
| 20 |
+
- Train Overall Precision: 0.3927
|
| 21 |
+
- Train Overall Recall: 0.5354
|
| 22 |
+
- Train Overall F1: 0.4531
|
| 23 |
+
- Train Overall Accuracy: 0.5035
|
| 24 |
+
- Epoch: 2
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 49 |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
| 50 |
| 1.6755 | 1.4053 | 0.1523 | 0.2730 | 0.1955 | 0.4103 | 0 |
|
| 51 |
| 1.3298 | 1.2494 | 0.2860 | 0.4551 | 0.3513 | 0.4989 | 1 |
|
| 52 |
+
| 1.1645 | 1.1716 | 0.3927 | 0.5354 | 0.4531 | 0.5035 | 2 |
|
| 53 |
|
| 54 |
|
| 55 |
### Framework versions
|
logs/train/events.out.tfevents.1709379476.7b15d2f9fd37.315.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:153e2f15fb57203022dac4ef52f5531458c83994a1b5a1d149820de9bd9e6a59
|
| 3 |
+
size 2365071
|
logs/validation/events.out.tfevents.1709380662.7b15d2f9fd37.315.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:dbb6fc7328e8d73d3eae2989144c5bdf83b98e8109b243ba3785523bacdab17a
|
| 3 |
+
size 541
|
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:5c82beec0dfc5b5c2dae98e2057ca5005f7cfd28e57e7e0a9b89f02b3b75c372
|
| 3 |
size 450829256
|