Downloads · 30 days
5
1% of all-time downloads
stefan-it/hmbench-ajmc-de-hmbyt5-bs8-wsFalse-e10-lr0.00016-poolingfirst-layers-1-crfFalse-2
hmbench-ajmc-de-hmbyt5-bs8-wsFalse-e10-lr0.00016-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 AjMC German NER Dataset using hmByT5 as backbone LM.
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
559
Public
Repo size
1.7 GB
Likes
0
Public
Click a slice to open those files.
.pt871 MB · 50%
From the Hugging Face model README
This Flair model was fine-tuned on the AjMC German NER Dataset using hmByT5 as backbone LM.
The AjMC dataset consists of NE-annotated historical commentaries in the field of Classics, and was created in the context of the Ajax MultiCommentary project.
The following NEs were annotated: pers, work, loc, object, date and scope.
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.8892 | 0.8913 | 0.8867 | 0.8843 | 0.8828 | 88.69 ± 0.31 |
| bs4-e10-lr0.00015 | 0.8786 | 0.8793 | 0.883 | 0.8807 | 0.8722 | 87.88 ± 0.36 |
| bs8-e10-lr0.00016 | 0.8602 | 0.8684 | 0.8643 | 0.8643 | 0.8623 | 86.39 ± 0.27 |
| bs8-e10-lr0.00015 | 0.8551 | 0.8707 | 0.8599 | 0.8609 | 0.8612 | 86.16 ± 0.51 |
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 ❤️