Downloads · 30 days
2
10% of all-time downloads
stefan-it/hmbench-hipe2020-de-hmbyt5-bs8-wsFalse-e10-lr0.00015-poolingfirst-layers-1-crfFalse-2
hmbench-hipe2020-de-hmbyt5-bs8-wsFalse-e10-lr0.00015-poolingfirst-layers-1-crfFalse-2 is a token classification model from stefan-it. Use it when you need labels on individual words, such as names. It is set up for flair. The card lists the license as mit.
This Flair model was fine-tuned on the German HIPE-2020 NER Dataset using hmByT5 as backbone LM.
Downloads · 30 days
2
10% of all-time downloads
All-time downloads
21
Public
Repo size
871 MB
Likes
0
Public
Click a slice to open those files.
.bin871 MB · 100%
From the Hugging Face model README
This Flair model was fine-tuned on the German HIPE-2020 NER Dataset using hmByT5 as backbone LM.
The HIPE-2020 dataset is comprised of newspapers from mid 19C to mid 20C. For information can be found here.
The following NEs were annotated: loc, org, pers, prod, time and comp.
Fine-Tuning ByT5 models in Flair is currently done by implementing an own ByT5Embedding class.
This class needs to be present when running the model with Flair.
Thus, the inference widget is not working with hmByT5 at the moment on the Model Hub and is currently disabled.
This should be fixed in future, when ByT5 fine-tuning is supported in Flair directly.
We performed a hyper-parameter search over the following parameters with 5 different seeds per configuration:
[8, 4][0.00015, 0.00016]And report micro F1-score on development set:
| Configuration | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 | Avg. |
|---|---|---|---|---|---|---|
| bs4-e10-lr0.00016 | 0.7596 | 0.7466 | 0.7771 | 0.7894 | 0.7717 | 76.89 ± 1.47 |
| bs8-e10-lr0.00015 | 0.7593 | 0.7663 | 0.7611 | 0.7647 | 0.7667 | 76.36 ± 0.29 |
| bs8-e10-lr0.00016 | 0.7607 | 0.7736 | 0.7567 | 0.756 | 0.746 | 75.86 ± 0.89 |
| bs4-e10-lr0.00015 | 0.7541 | 0.7466 | 0.7575 | 0.7579 | 0.7599 | 75.52 ± 0.47 |
The training log and TensorBoard logs (only for hmByT5 and hmTEAMS based models) are also uploaded to the model hub.
More information about fine-tuning can be found here.
We thank Luisa März, Katharina Schmid and Erion Çano for their fruitful discussions about Historic Language Models.
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC). Many Thanks for providing access to the TPUs ❤️