julien-c HF staff commited on
Commit
8513ad9
1 Parent(s): d3dac9b

Migrate model card from transformers-repo

Browse files

Read 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-en-ar-cased/README.md

Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: multilingual
3
+
4
+ datasets: wikipedia
5
+
6
+ license: apache-2.0
7
+
8
+ widget:
9
+ - text: "Google generated 46 billion [MASK] in revenue."
10
+ - text: "Paris is the capital of [MASK]."
11
+ - text: "Algiers is the largest city in [MASK]."
12
+ - text: "تقع سويسرا في [MASK] أوروبا"
13
+ - text: "إسمي محمد وأسكن في [MASK]."
14
+ ---
15
+
16
+ # bert-base-en-ar-cased
17
+
18
+ We are sharing smaller versions of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) that handle a custom number of languages.
19
+
20
+ 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.
21
+
22
+ 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).
23
+
24
+ ## How to use
25
+
26
+ ```python
27
+ from transformers import AutoTokenizer, AutoModel
28
+
29
+ tokenizer = AutoTokenizer.from_pretrained("Geotrend/bert-base-en-ar-cased")
30
+ model = AutoModel.from_pretrained("Geotrend/bert-base-en-ar-cased")
31
+
32
+ ```
33
+
34
+ To generate other smaller versions of multilingual transformers please visit [our Github repo](https://github.com/Geotrend-research/smaller-transformers).
35
+
36
+ ### How to cite
37
+
38
+ ```bibtex
39
+ @inproceedings{smallermbert,
40
+ title={Load What You Need: Smaller Versions of Mutlilingual BERT},
41
+ author={Abdaoui, Amine and Pradel, Camille and Sigel, Grégoire},
42
+ booktitle={SustaiNLP / EMNLP},
43
+ year={2020}
44
+ }
45
+ ```
46
+
47
+ ## Contact
48
+
49
+ Please contact amine@geotrend.fr for any question, feedback or request.