CoolFace
Modelpublic

hmbyt5-preliminary/byt5-small-historic-multilingual

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes89downloads
Model Card

hmByT5 - Preliminary Language Models

Preliminary Historic Multilingual and Monolingual ByT5 Models. Following languages are currently covered:

  • —English (British Library Corpus - Books)
  • —German (Europeana Newspaper)
  • —French (Europeana Newspaper)
  • —Finnish (Europeana Newspaper)
  • —Swedish (Europeana Newspaper)
  • —Dutch (Delpher Corpus)

More details can be found in our GitHub repository.

Pretraining

We pretrain hmByT5 on a v3-32 TPU Pod. Details about the training can be found here.

Evaluation on Downstream Tasks (NER)

We evaluated the hmByT5 model that was pretrained on English AjMC corpus for 200k steps:

Hyper-param ConfigurationRun 1Run 2Run 3Run 4Run 5Avg.
wsFalse-bs4-e10-lr0.00016-poolingfirst83.8084.7883.7483.3584.3784.01 ± 0.50
wsFalse-bs4-e10-lr0.00015-poolingfirst84.6782.6983.9284.5382.9083.74 ± 0.82
wsFalse-bs8-e10-lr0.00016-poolingfirst82.1283.8283.3783.0083.7083.20 ± 0.61
wsFalse-bs8-e10-lr0.00015-poolingfirst83.4582.8384.1581.7683.7883.19 ± 0.84

It turns out, that the results are not on-par with current SOTA on the English AjMC corpus, see a comparison here. Thus, we continue experiments with the Hugging Face Transformers JAX/FLAX implementation to pretrain ByT5 models on TPU.

Acknowledgements

Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC). Many Thanks for providing access to the TPUs ❤️