dmlea commited on
Commit
694d25d
1 Parent(s): b1d4bc6

Upload BertForMaskedLM

Browse files
Files changed (3) hide show
  1. config.json +9 -11
  2. generation_config.json +5 -0
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,28 +1,26 @@
1
  {
2
- "_name_or_path": "camembert-base",
3
  "architectures": [
4
- "CamembertForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 5,
8
  "classifier_dropout": null,
9
- "eos_token_id": 6,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
- "layer_norm_eps": 1e-05,
16
- "max_position_embeddings": 514,
17
- "model_type": "camembert",
18
  "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
- "output_past": true,
21
- "pad_token_id": 1,
22
  "position_embedding_type": "absolute",
23
  "torch_dtype": "float32",
24
  "transformers_version": "4.32.1",
25
- "type_vocab_size": 1,
26
  "use_cache": true,
27
- "vocab_size": 32005
28
  }
 
1
  {
2
+ "_name_or_path": "bert-base-cased",
3
  "architectures": [
4
+ "BertForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
7
  "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
  "num_attention_heads": 12,
18
  "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
 
20
  "position_embedding_type": "absolute",
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.32.1",
23
+ "type_vocab_size": 2,
24
  "use_cache": true,
25
+ "vocab_size": 28996
26
  }
generation_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "pad_token_id": 0,
4
+ "transformers_version": "4.32.1"
5
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82dfc71a0e01e21c70c6c818eabe752c5ccc2d499191ca0c131b5e7935b8525a
3
- size 442688629
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf3e28aeed7fe51553bbfa2c42a662415cefcb590030f2a246421ef927c4a720
3
+ size 433429365