Added model variations section
Browse filesFollowing https://huggingface.co./bert-base-uncased/discussions/6 I added a "model variations" section to the model card, it has a brief history of variations with a link to the BERT github readme for detailed info. A table reports the relevant models on the HF hub.
Copy of closed PR https://huggingface.co./bert-base-uncased/discussions/8 but without the added ToC as suggested by
@julien-c
README.md
CHANGED
@@ -38,6 +38,26 @@ This way, the model learns an inner representation of the English language that
|
|
38 |
useful for downstream tasks: if you have a dataset of labeled sentences for instance, you can train a standard
|
39 |
classifier using the features produced by the BERT model as inputs.
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
## Intended uses & limitations
|
42 |
|
43 |
You can use the raw model for either masked language modeling or next sentence prediction, but it's mostly intended to
|
|
|
38 |
useful for downstream tasks: if you have a dataset of labeled sentences for instance, you can train a standard
|
39 |
classifier using the features produced by the BERT model as inputs.
|
40 |
|
41 |
+
## Model variations
|
42 |
+
|
43 |
+
BERT has originally been released in base and large variations, for cased and uncased input text. The uncased models also strips out an accent markers.
|
44 |
+
Chinese and multilingual uncased and cased versions followed shortly after.
|
45 |
+
Modified preprocessing with whole word masking has replaced subpiece masking in a following work, with the release of two models.
|
46 |
+
Other 24 smaller models are released aftwrwards.
|
47 |
+
|
48 |
+
The detailed release history can be found on the [google-research/bert readme](https://github.com/google-research/bert/blob/master/README.md) on github.
|
49 |
+
|
50 |
+
| Model | #params | Language |
|
51 |
+
|------------------------|--------------------------------|-------|
|
52 |
+
| [`bert-base-uncased`](https://huggingface.co/bert-base-uncased) | 110M | English |
|
53 |
+
| [`bert-large-uncased`](https://huggingface.co/bert-large-uncased) | 340M | English | sub
|
54 |
+
| [`bert-base-cased`](https://huggingface.co/bert-base-cased) | 110M | English |
|
55 |
+
| [`bert-large-cased`](https://huggingface.co/bert-large-cased) | 340M | English |
|
56 |
+
| [`bert-base-chinese`](https://huggingface.co/bert-base-chinese) | 110M | Chinese |
|
57 |
+
| [`bert-base-multilingual-cased`](https://huggingface.co/bert-base-multilingual-cased) | 110M | Multiple |
|
58 |
+
| [`bert-large-uncased-whole-word-masking`](https://huggingface.co/bert-large-uncased-whole-word-masking) | 340M | English |
|
59 |
+
| [`bert-large-cased-whole-word-masking`](https://huggingface.co/bert-large-cased-whole-word-masking) | 340M | English |
|
60 |
+
|
61 |
## Intended uses & limitations
|
62 |
|
63 |
You can use the raw model for either masked language modeling or next sentence prediction, but it's mostly intended to
|