Downloads · 30 days
94
3% of all-time downloads
Geotrend/bert-base-10lang-cased
bert-base-10lang-cased is a fill-mask model from Geotrend. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as apache-2.0.
We are sharing smaller versions of bert-base-multilingual-cased that handle a custom number of languages.
Downloads · 30 days
94
3% of all-time downloads
All-time downloads
3.7K
Public
Parameters
138M
2.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.h5760 MB · 31%
How the weights are stored.
F32138M · 100%
From the Hugging Face model README
We are sharing smaller versions of bert-base-multilingual-cased that handle a custom number of languages.
Unlike distilbert-base-multilingual-cased, our versions give exactly the same representations produced by the original model which preserves the original accuracy.
This model handles the following languages: english, french, spanish, german, chinese, arabic, russian, portuguese, italian, and urdu. It produces the same representations as bert-base-multilingual-cased while being 22.5% smaller in size.
For more information please visit our paper: Load What You Need: Smaller Versions of Multilingual BERT.
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Geotrend/bert-base-10lang-cased")
model = AutoModel.from_pretrained("Geotrend/bert-base-10lang-cased")
To generate other smaller versions of multilingual transformers please visit our Github repo.
@inproceedings{smallermbert,
title={Load What You Need: Smaller Versions of Multilingual BERT},
author={Abdaoui, Amine and Pradel, Camille and Sigel, Grégoire},
booktitle={SustaiNLP / EMNLP},
year={2020}
}
Please contact [email protected] for any question, feedback or request.