amine-private
commited on
Commit
•
1fc2be9
1
Parent(s):
9ad9c6d
commit from amine
Browse files- README.md +3 -3
- config.json +2 -2
- pytorch_model.bin +2 -2
- tf_model.h5 +2 -2
- vocab.txt +0 -0
README.md
CHANGED
@@ -6,7 +6,7 @@ datasets: wikipedia
|
|
6 |
license: apache-2.0
|
7 |
---
|
8 |
|
9 |
-
# bert-base-en-
|
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 |
|
@@ -20,8 +20,8 @@ For more information please visit our paper: [Load What You Need: Smaller Versio
|
|
20 |
```python
|
21 |
from transformers import AutoTokenizer, AutoModel
|
22 |
|
23 |
-
tokenizer = AutoTokenizer.from_pretrained("Geotrend/bert-base-en-
|
24 |
-
model = AutoModel.from_pretrained("Geotrend/bert-base-en-
|
25 |
|
26 |
```
|
27 |
|
|
|
6 |
license: apache-2.0
|
7 |
---
|
8 |
|
9 |
+
# bert-base-en-da-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 |
|
|
|
20 |
```python
|
21 |
from transformers import AutoTokenizer, AutoModel
|
22 |
|
23 |
+
tokenizer = AutoTokenizer.from_pretrained("Geotrend/bert-base-en-da-cased")
|
24 |
+
model = AutoModel.from_pretrained("Geotrend/bert-base-en-da-cased")
|
25 |
|
26 |
```
|
27 |
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "new-models/bert-base-en-
|
3 |
"architectures": [
|
4 |
"BertForMaskedLM"
|
5 |
],
|
@@ -24,5 +24,5 @@
|
|
24 |
"pooler_type": "first_token_transform",
|
25 |
"position_embedding_type": "absolute",
|
26 |
"type_vocab_size": 2,
|
27 |
-
"vocab_size":
|
28 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "new-models/bert-base-en-da-cased",
|
3 |
"architectures": [
|
4 |
"BertForMaskedLM"
|
5 |
],
|
|
|
24 |
"pooler_type": "first_token_transform",
|
25 |
"position_embedding_type": "absolute",
|
26 |
"type_vocab_size": 2,
|
27 |
+
"vocab_size": 32731
|
28 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4dcbca5a13a758961df6390af95c7286e801744d32e282b331a4a86573ff71dc
|
3 |
+
size 444936957
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed6ad4cdc862c384813ed6e36f0905827496904741928164c7ef7d93c617f8f3
|
3 |
+
size 547265852
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|