Instructions to use mahithabsl/layoutlm-funsd-tf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mahithabsl/layoutlm-funsd-tf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="mahithabsl/layoutlm-funsd-tf")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("mahithabsl/layoutlm-funsd-tf") model = AutoModelForTokenClassification.from_pretrained("mahithabsl/layoutlm-funsd-tf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
29dd862
1
Parent(s): 93f3284
Training in progress epoch 1
Browse files
README.md
CHANGED
|
@@ -13,13 +13,13 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 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.
|
| 17 |
-
- Validation Loss:
|
| 18 |
-
- Train Overall Precision: 0.
|
| 19 |
-
- Train Overall Recall: 0.
|
| 20 |
-
- Train Overall F1: 0.
|
| 21 |
-
- Train Overall Accuracy: 0.
|
| 22 |
-
- Epoch:
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -46,6 +46,7 @@ The following hyperparameters were used during training:
|
|
| 46 |
| Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
|
| 47 |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
| 48 |
| 1.6861 | 1.3959 | 0.2365 | 0.2444 | 0.2404 | 0.5253 | 0 |
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
### Framework versions
|
|
|
|
| 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.1361
|
| 17 |
+
- Validation Loss: 0.8998
|
| 18 |
+
- Train Overall Precision: 0.5975
|
| 19 |
+
- Train Overall Recall: 0.5921
|
| 20 |
+
- Train Overall F1: 0.5948
|
| 21 |
+
- Train Overall Accuracy: 0.7173
|
| 22 |
+
- Epoch: 1
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 46 |
| Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
|
| 47 |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
|
| 48 |
| 1.6861 | 1.3959 | 0.2365 | 0.2444 | 0.2404 | 0.5253 | 0 |
|
| 49 |
+
| 1.1361 | 0.8998 | 0.5975 | 0.5921 | 0.5948 | 0.7173 | 1 |
|
| 50 |
|
| 51 |
|
| 52 |
### Framework versions
|
logs/train/events.out.tfevents.1683037784.8d28e679fcbb.323.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:7fb418cf385512fbf8e2037052b5428b16193633639f833c8829f451909f74b7
|
| 3 |
+
size 2400297
|
logs/validation/events.out.tfevents.1683038889.8d28e679fcbb.323.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:be6e001fa63c8260da6410a13b874f6628263ccc1c9922b4258bd05482d0987a
|
| 3 |
+
size 386
|
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:afe1676890298cc1dcd366e9d03d00e036ef58ad694e339fa84559ea4f0fd673
|
| 3 |
size 450829256
|