system HF staff commited on
Commit
4e6eaf8
1 Parent(s): 9a78219

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +32 -54
config.json CHANGED
@@ -1,54 +1,32 @@
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": 128,
11
- "eos_token_id": null,
12
- "finetuning_task": null,
13
- "hidden_act": "gelu",
14
- "hidden_dropout_prob": 0.1,
15
- "hidden_size": 256,
16
- "id2label": {
17
- "0": "negative",
18
- "1": "positive"
19
- },
20
- "initializer_range": 0.02,
21
- "intermediate_size": 1024,
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": 4,
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": ["ElectraForSequenceClassification"],
3
+ "attention_probs_dropout_prob": 0.1,
4
+ "embedding_size": 128,
5
+ "finetuning_task": "nsmc",
6
+ "hidden_act": "gelu",
7
+ "hidden_dropout_prob": 0.1,
8
+ "hidden_size": 256,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 1024,
11
+ "layer_norm_eps": 1e-12,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "electra",
14
+ "num_attention_heads": 4,
15
+ "num_hidden_layers": 12,
16
+ "pad_token_id": 0,
17
+ "summary_activation": "gelu",
18
+ "summary_last_dropout": 0.1,
19
+ "summary_type": "first",
20
+ "summary_use_proj": true,
21
+ "type_vocab_size": 2,
22
+ "vocab_size": 32200,
23
+ "label2id": {
24
+ "negative": 0,
25
+ "positive": 1
26
+ },
27
+ "id2label": {
28
+ "0": "negative",
29
+ "1": "positive"
30
+ },
31
+ "_num_labels": 2
32
+ }