system HF staff commited on
Commit
aff229c
1 Parent(s): 2bc0991

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +13 -59
config.json CHANGED
@@ -2,66 +2,20 @@
2
  "architectures": [
3
  "DPRContextEncoder"
4
  ],
5
- "bi_encoder_model_file": null,
6
- "encoder_model_config": {
7
- "architectures": [
8
- "BertForMaskedLM"
9
- ],
10
- "attention_probs_dropout_prob": 0.1,
11
- "bad_words_ids": null,
12
- "bos_token_id": null,
13
- "decoder_start_token_id": null,
14
- "do_sample": false,
15
- "early_stopping": false,
16
- "eos_token_id": null,
17
- "finetuning_task": null,
18
- "gradient_checkpointing": false,
19
- "hidden_act": "gelu",
20
- "hidden_dropout_prob": 0.1,
21
- "hidden_size": 768,
22
- "id2label": {
23
- "0": "LABEL_0",
24
- "1": "LABEL_1"
25
- },
26
- "initializer_range": 0.02,
27
- "intermediate_size": 3072,
28
- "is_decoder": false,
29
- "is_encoder_decoder": false,
30
- "label2id": {
31
- "LABEL_0": 0,
32
- "LABEL_1": 1
33
- },
34
- "layer_norm_eps": 1e-12,
35
- "length_penalty": 1.0,
36
- "max_length": 20,
37
- "max_position_embeddings": 512,
38
- "min_length": 0,
39
- "model_type": "bert",
40
- "no_repeat_ngram_size": 0,
41
- "num_attention_heads": 12,
42
- "num_beams": 1,
43
- "num_hidden_layers": 12,
44
- "num_return_sequences": 1,
45
- "output_attentions": false,
46
- "output_hidden_states": false,
47
- "pad_token_id": 0,
48
- "prefix": null,
49
- "pruned_heads": {},
50
- "repetition_penalty": 1.0,
51
- "task_specific_params": null,
52
- "temperature": 1.0,
53
- "top_k": 50,
54
- "top_p": 1.0,
55
- "torchscript": false,
56
- "type_vocab_size": 2,
57
- "use_bfloat16": false,
58
- "use_cache": true,
59
- "vocab_size": 30522,
60
- "xla_device": null
61
- },
62
  "model_type": "dpr",
 
 
63
  "pad_token_id": 0,
64
  "projection_dim": 0,
65
- "reader_model_file": null,
66
- "sequence_length": 512
67
  }
 
2
  "architectures": [
3
  "DPRContextEncoder"
4
  ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "gradient_checkpointing": false,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
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": "dpr",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 12,
17
  "pad_token_id": 0,
18
  "projection_dim": 0,
19
+ "type_vocab_size": 2,
20
+ "vocab_size": 30522
21
  }