AdnanRiaz107 commited on
Commit
3c56be9
1 Parent(s): 87cb563

Upload config

Browse files
Files changed (1) hide show
  1. config.json +2 -4
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "microsoft/codebert-base-mlm",
3
  "architectures": [
4
- "RobertaForCausalLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
@@ -12,7 +12,6 @@
12
  "hidden_size": 768,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
- "is_decoder": true,
16
  "layer_norm_eps": 1e-05,
17
  "max_position_embeddings": 514,
18
  "model_type": "roberta",
@@ -21,9 +20,8 @@
21
  "output_past": true,
22
  "pad_token_id": 1,
23
  "position_embedding_type": "absolute",
24
- "torch_dtype": "float32",
25
  "transformers_version": "4.38.2",
26
  "type_vocab_size": 1,
27
- "use_cache": false,
28
  "vocab_size": 50265
29
  }
 
1
  {
2
  "_name_or_path": "microsoft/codebert-base-mlm",
3
  "architectures": [
4
+ "RobertaForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
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": "roberta",
 
20
  "output_past": true,
21
  "pad_token_id": 1,
22
  "position_embedding_type": "absolute",
 
23
  "transformers_version": "4.38.2",
24
  "type_vocab_size": 1,
25
+ "use_cache": true,
26
  "vocab_size": 50265
27
  }