gchhablani
commited on
Commit
•
c6964ae
1
Parent(s):
395fa02
Fix README
Browse files
README.md
CHANGED
@@ -3,13 +3,14 @@ language: en
|
|
3 |
tags:
|
4 |
- exbert
|
5 |
- multiberts
|
|
|
6 |
license: apache-2.0
|
7 |
datasets:
|
8 |
- bookcorpus
|
9 |
- wikipedia
|
10 |
---
|
11 |
# MultiBERTs Seed 0 Checkpoint 180k (uncased)
|
12 |
-
Seed 0 intermediate checkoint
|
13 |
[this paper](https://arxiv.org/pdf/2106.16163.pdf) and first released in
|
14 |
[this repository](https://github.com/google-research/language/tree/master/language/multiberts). This model is uncased: it does not make a difference
|
15 |
between english and English.
|
@@ -46,7 +47,7 @@ Here is how to use this model to get the features of a given text in PyTorch:
|
|
46 |
```python
|
47 |
from transformers import BertTokenizer, BertModel
|
48 |
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
|
49 |
-
model = BertModel.from_pretrained("multiberts-seed-
|
50 |
text = "Replace me by any text you'd like."
|
51 |
encoded_input = tokenizer(text, return_tensors='pt')
|
52 |
output = model(**encoded_input)
|
|
|
3 |
tags:
|
4 |
- exbert
|
5 |
- multiberts
|
6 |
+
- multiberts-seed-0
|
7 |
license: apache-2.0
|
8 |
datasets:
|
9 |
- bookcorpus
|
10 |
- wikipedia
|
11 |
---
|
12 |
# MultiBERTs Seed 0 Checkpoint 180k (uncased)
|
13 |
+
Seed 0 intermediate checkoint 0k MultiBERTs (pretrained BERT) model on English language using a masked language modeling (MLM) objective. It was introduced in
|
14 |
[this paper](https://arxiv.org/pdf/2106.16163.pdf) and first released in
|
15 |
[this repository](https://github.com/google-research/language/tree/master/language/multiberts). This model is uncased: it does not make a difference
|
16 |
between english and English.
|
|
|
47 |
```python
|
48 |
from transformers import BertTokenizer, BertModel
|
49 |
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
|
50 |
+
model = BertModel.from_pretrained("multiberts-seed-1-180k")
|
51 |
text = "Replace me by any text you'd like."
|
52 |
encoded_input = tokenizer(text, return_tensors='pt')
|
53 |
output = model(**encoded_input)
|