system HF staff commited on
Commit
be701e0
1 Parent(s): ba24093

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +5 -29
config.json CHANGED
@@ -1,48 +1,24 @@
1
  {
2
- "architectures": [
3
- "RobertaModel"
 
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "bos_token_id": 0,
7
- "do_sample": false,
8
  "eos_token_id": 2,
9
- "eos_token_ids": 0,
10
- "finetuning_task": null,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
14
- "id2label": {
15
- "0": "LABEL_0",
16
- "1": "LABEL_1"
17
- },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
- "is_decoder": false,
21
- "label2id": {
22
- "LABEL_0": 0,
23
- "LABEL_1": 1
24
- },
25
  "layer_norm_eps": 1e-05,
26
- "length_penalty": 1.0,
27
- "max_length": 20,
28
  "max_position_embeddings": 514,
29
  "model_type": "roberta",
30
  "num_attention_heads": 12,
31
- "num_beams": 1,
32
  "num_hidden_layers": 12,
33
- "num_labels": 2,
34
- "num_return_sequences": 1,
35
- "output_attentions": false,
36
- "output_hidden_states": false,
37
  "output_past": true,
38
  "pad_token_id": 1,
39
- "pruned_heads": {},
40
- "repetition_penalty": 1.0,
41
- "temperature": 1.0,
42
- "top_k": 50,
43
- "top_p": 1.0,
44
- "torchscript": false,
45
  "type_vocab_size": 1,
46
- "use_bfloat16": false,
47
  "vocab_size": 50265
48
- }
 
1
  {
2
+ "_name_or_path": "microsoft/codebert-base",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
8
  "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
 
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": "roberta",
18
  "num_attention_heads": 12,
 
19
  "num_hidden_layers": 12,
 
 
 
 
20
  "output_past": true,
21
  "pad_token_id": 1,
 
 
 
 
 
 
22
  "type_vocab_size": 1,
 
23
  "vocab_size": 50265
24
+ }