system HF staff commited on
Commit
777f788
1 Parent(s): fffcd9a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +25 -54
config.json CHANGED
@@ -1,54 +1,25 @@
1
- {
2
- "_num_labels": 2,
3
- "architectures": ["ElectraForSequenceClassification"],
4
- "attention_probs_dropout_prob": 0.1,
5
- "bad_words_ids": null,
6
- "bos_token_id": null,
7
- "decoder_start_token_id": null,
8
- "do_sample": false,
9
- "early_stopping": false,
10
- "embedding_size": 768,
11
- "eos_token_id": null,
12
- "finetuning_task": null,
13
- "hidden_act": "gelu",
14
- "hidden_dropout_prob": 0.1,
15
- "hidden_size": 768,
16
- "id2label": {
17
- "0": "negative",
18
- "1": "positive"
19
- },
20
- "initializer_range": 0.02,
21
- "intermediate_size": 3072,
22
- "is_decoder": false,
23
- "is_encoder_decoder": false,
24
- "label2id": {
25
- "negative": 0,
26
- "positive": 1
27
- },
28
- "layer_norm_eps": 1e-12,
29
- "length_penalty": 1.0,
30
- "max_length": 20,
31
- "max_position_embeddings": 512,
32
- "min_length": 0,
33
- "model_type": "electra",
34
- "no_repeat_ngram_size": 0,
35
- "num_attention_heads": 12,
36
- "num_beams": 1,
37
- "num_hidden_layers": 12,
38
- "num_return_sequences": 1,
39
- "output_attentions": false,
40
- "output_hidden_states": false,
41
- "output_past": true,
42
- "pad_token_id": 0,
43
- "prefix": null,
44
- "pruned_heads": {},
45
- "repetition_penalty": 1.0,
46
- "task_specific_params": null,
47
- "temperature": 1.0,
48
- "top_k": 50,
49
- "top_p": 1.0,
50
- "torchscript": false,
51
- "type_vocab_size": 2,
52
- "use_bfloat16": false,
53
- "vocab_size": 32200
54
- }
 
1
+ {
2
+ "architectures": [
3
+ "ElectraForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "embedding_size": 768,
7
+ "finetuning_task": "nsmc",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "electra",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "summary_activation": "gelu",
20
+ "summary_last_dropout": 0.1,
21
+ "summary_type": "first",
22
+ "summary_use_proj": true,
23
+ "type_vocab_size": 2,
24
+ "vocab_size": 32200
25
+ }