Downloads · 30 days
11
30% of all-time downloads
jbroermann/bert-mapa-german
bert-mapa-german is a token classification model from jbroermann. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of google-bert/bert-base-german-cased on the MAPA german dataset. It's purpose is to discern private information within German texts.
Downloads · 30 days
11
30% of all-time downloads
All-time downloads
37
Public
Parameters
109M
434 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors434 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google-bert/bert-base-german-cased on the MAPA german dataset. It's purpose is to discern private information within German texts.
It achieves the following results on the test set:
| Category | Precision | Recall | F1 | Number |
|---|---|---|---|---|
| Address | 0.5882 | 0.6667 | 0.625 | 15 |
| Age | 0.0 | 0.0 | 0.0 | 3 |
| Amount | 1.0 | 1.0 | 1.0 | 1 |
| Date | 0.9455 | 0.9455 | 0.9455 | 55 |
| Name | 0.7 | 0.9545 | 0.8077 | 22 |
| Organisation | 0.5405 | 0.6452 | 0.5882 | 31 |
| Person | 0.5385 | 0.5 | 0.5185 | 14 |
| Role | 0.0 | 0.0 | 0.0 | 1 |
| Overall | 0.7255 | 0.7817 | 0.7525 |
This model is engineered for the purpose of discerning private information within German texts. Its training corpus comprises only 1744 example sentences, thereby leading to a higher frequency of errors in its predictions.
Random split of the MAPA german dataset into 80% train, 10% valdiation and 10% test.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 218 | 0.0607 | 0.6527 | 0.7786 | 0.7101 | 0.9859 |
| No log | 2.0 | 436 | 0.0479 | 0.7355 | 0.8143 | 0.7729 | 0.9896 |
| 0.116 | 3.0 | 654 | 0.0414 | 0.7712 | 0.8429 | 0.8055 | 0.9908 |
| 0.116 | 4.0 | 872 | 0.0421 | 0.7857 | 0.8643 | 0.8231 | 0.9917 |