Migrate model card from transformers-repo
Browse filesRead announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/Geotrend/bert-base-es-cased/README.md
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: es
|
3 |
+
|
4 |
+
datasets: wikipedia
|
5 |
+
|
6 |
+
license: apache-2.0
|
7 |
+
---
|
8 |
+
|
9 |
+
# bert-base-es-cased
|
10 |
+
|
11 |
+
We are sharing smaller versions of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) that handle a custom number of languages.
|
12 |
+
|
13 |
+
Unlike [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased), our versions give exactly the same representations produced by the original model which preserves the original accuracy.
|
14 |
+
|
15 |
+
For more information please visit our paper: [Load What You Need: Smaller Versions of Multilingual BERT](https://www.aclweb.org/anthology/2020.sustainlp-1.16.pdf).
|
16 |
+
|
17 |
+
## How to use
|
18 |
+
|
19 |
+
```python
|
20 |
+
from transformers import AutoTokenizer, AutoModel
|
21 |
+
|
22 |
+
tokenizer = AutoTokenizer.from_pretrained("Geotrend/bert-base-es-cased")
|
23 |
+
model = AutoModel.from_pretrained("Geotrend/bert-base-es-cased")
|
24 |
+
|
25 |
+
```
|
26 |
+
|
27 |
+
To generate other smaller versions of multilingual transformers please visit [our Github repo](https://github.com/Geotrend-research/smaller-transformers).
|
28 |
+
|
29 |
+
### How to cite
|
30 |
+
|
31 |
+
```bibtex
|
32 |
+
@inproceedings{smallermbert,
|
33 |
+
title={Load What You Need: Smaller Versions of Mutlilingual BERT},
|
34 |
+
author={Abdaoui, Amine and Pradel, Camille and Sigel, Grégoire},
|
35 |
+
booktitle={SustaiNLP / EMNLP},
|
36 |
+
year={2020}
|
37 |
+
}
|
38 |
+
```
|
39 |
+
|
40 |
+
## Contact
|
41 |
+
|
42 |
+
Please contact amine@geotrend.fr for any question, feedback or request.
|