language: en
license: mit
tags:
- flair
- token-classification
- sequence-tagger-model
base_model: hmteams/teams-base-historic-multilingual-discriminator
inference: false
widget:
- text: Cp . Eur . Phoen . 240 , 1 , αἷμα ddiov φλέγέι .
Fine-tuned Flair Model on AjMC English NER Dataset (HIPE-2022)
This Flair model was fine-tuned on the AjMC English NER Dataset using hmTEAMS 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
.
⚠️ Inference Widget ⚠️
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.
Results
We performed a hyper-parameter search over the following parameters with 5 different seeds per configuration:
- Batch Sizes:
[8, 4]
- Learning Rates:
[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.842 | 0.8548 | 0.8407 | 0.8431 | 0.8443 | 84.5 ± 0.51 |
bs4-e10-lr0.00015 | 0.8376 | 0.8343 | 0.8495 | 0.8394 | 0.837 | 83.96 ± 0.52 |
bs8-e10-lr0.00015 | 0.8172 | 0.8242 | 0.8217 | 0.8367 | 0.8323 | 82.64 ± 0.71 |
bs8-e10-lr0.00016 | 0.8178 | 0.8205 | 0.8126 | 0.8339 | 0.8264 | 82.22 ± 0.73 |
The training log and TensorBoard logs are also uploaded to the model hub.
More information about fine-tuning can be found here.
Acknowledgements
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 ❤️