Commit
·
bb0208b
1
Parent(s):
8787296
Add model
Browse files- README.md +3 -3
- pytorch_model.bin +3 -0
README.md
CHANGED
|
@@ -8,8 +8,8 @@ datasets:
|
|
| 8 |
- bookcorpus
|
| 9 |
- wikipedia
|
| 10 |
---
|
| 11 |
-
# MultiBERTs Seed
|
| 12 |
-
Seed
|
| 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 +46,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)
|
|
|
|
| 8 |
- bookcorpus
|
| 9 |
- wikipedia
|
| 10 |
---
|
| 11 |
+
# MultiBERTs Seed 1600000 Checkpoint 1600k (uncased)
|
| 12 |
+
Seed 1600000 intermediate checkpoint 1600k MultiBERTs (pretrained BERT) model on English language using a masked language modeling (MLM) objective. It was introduced in
|
| 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 |
```python
|
| 47 |
from transformers import BertTokenizer, BertModel
|
| 48 |
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
|
| 49 |
+
model = BertModel.from_pretrained("multiberts-seed-1600000-1600k")
|
| 50 |
text = "Replace me by any text you'd like."
|
| 51 |
encoded_input = tokenizer(text, return_tensors='pt')
|
| 52 |
output = model(**encoded_input)
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5dbec986111b83d1b0a3b3a437dc4e489069ab39ee7150dfaf24e207a3a9685
|
| 3 |
+
size 440509027
|