bert icon indicating copy to clipboard operation
bert copied to clipboard

What are the requirements of the language in order to included in the BERT?

Open sharavsambuu opened this issue 8 years ago • 3 comments

I saw there are 102 languages supported in the BERT. Unfortunately my native language (Mongolian language) is not supported.

Just wondering, is it because availability or size of the certain language corpus? If so how can we help?

sharavsambuu avatar Nov 05 '18 14:11 sharavsambuu

In this page, the authors mention this:

The languages chosen were the top 100 languages with the largest Wikipedias.

rodgzilla avatar Nov 05 '18 14:11 rodgzilla

Yes, unfortunately Mongolian is ranked 114 so it was not included.

We are probably not going to release any more more languages or datasets. You may be able to use the existing multilingual model to train a Mongolian system relatively inexpensively , but we haven't tried adding a new language after the fact.

To do this, you can either use the existing WordPiece vocabulary, which will not have many Mongolian but does support Cyrillic WordPieces from Russian/Ukranian/etc., or you can use a new embedding table but use the same Transformer. We haven't tried either one but it's an interesting thing to try.

jacobdevlin-google avatar Nov 05 '18 18:11 jacobdevlin-google

I generated a new version of the multilingual model to fix normalization and include Thai, and I also included Mongolian in the new version. See the README for a pointer.

jacobdevlin-google avatar Nov 24 '18 01:11 jacobdevlin-google