Edit model card

Fine-tuned Flair Model on LeTemps French NER Dataset (HIPE-2022)

This Flair model was fine-tuned on the LeTemps French NER Dataset using hmByT5 as backbone LM.

The LeTemps dataset consists of NE-annotated historical French newspaper articles from mid-19C to mid 20C.

The following NEs were annotated: loc, org and pers.

⚠️ 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.
bs8-e10-lr0.00016 0.6553 0.6628 0.6699 0.6524 0.6542 65.89 ± 0.65
bs4-e10-lr0.00015 0.6603 0.6651 0.654 0.6575 0.6575 65.89 ± 0.37
bs4-e10-lr0.00016 0.6423 0.6595 0.6625 0.6657 0.6538 65.68 ± 0.82
bs8-e10-lr0.00015 0.6502 0.6541 0.6607 0.6496 0.6629 65.55 ± 0.54

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.

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 ❤️

Downloads last month
78
Inference Examples
Inference API (serverless) has been turned off for this model.

Finetuned from