Andrei-Stefan Tomoiaga
commited on
Commit
•
535a226
1
Parent(s):
27ad3d3
config fix
Browse files- config.json +6 -3
- language_model_config.json +0 -26
config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"gradient_checkpointing": false,
|
@@ -9,15 +10,17 @@
|
|
9 |
"hidden_size": 768,
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 3072,
|
|
|
12 |
"layer_norm_eps": 1e-12,
|
13 |
"max_position_embeddings": 512,
|
14 |
"model_type": "bert",
|
|
|
15 |
"num_attention_heads": 12,
|
16 |
"num_hidden_layers": 12,
|
17 |
"pad_token_id": 0,
|
18 |
"position_embedding_type": "absolute",
|
19 |
-
"transformers_version": "4.6.
|
20 |
"type_vocab_size": 2,
|
21 |
"use_cache": true,
|
22 |
"vocab_size": 30522
|
23 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
"architectures": [
|
4 |
+
"BertForMaskedLM"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"gradient_checkpointing": false,
|
|
|
10 |
"hidden_size": 768,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
13 |
+
"language": "english",
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"max_position_embeddings": 512,
|
16 |
"model_type": "bert",
|
17 |
+
"name": "Bert",
|
18 |
"num_attention_heads": 12,
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 0,
|
21 |
"position_embedding_type": "absolute",
|
22 |
+
"transformers_version": "4.6.1",
|
23 |
"type_vocab_size": 2,
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 30522
|
26 |
+
}
|
language_model_config.json
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "bert-base-uncased",
|
3 |
-
"architectures": [
|
4 |
-
"BertForMaskedLM"
|
5 |
-
],
|
6 |
-
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"gradient_checkpointing": false,
|
8 |
-
"hidden_act": "gelu",
|
9 |
-
"hidden_dropout_prob": 0.1,
|
10 |
-
"hidden_size": 768,
|
11 |
-
"initializer_range": 0.02,
|
12 |
-
"intermediate_size": 3072,
|
13 |
-
"language": "english",
|
14 |
-
"layer_norm_eps": 1e-12,
|
15 |
-
"max_position_embeddings": 512,
|
16 |
-
"model_type": "bert",
|
17 |
-
"name": "Bert",
|
18 |
-
"num_attention_heads": 12,
|
19 |
-
"num_hidden_layers": 12,
|
20 |
-
"pad_token_id": 0,
|
21 |
-
"position_embedding_type": "absolute",
|
22 |
-
"transformers_version": "4.6.1",
|
23 |
-
"type_vocab_size": 2,
|
24 |
-
"use_cache": true,
|
25 |
-
"vocab_size": 30522
|
26 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|