config.json
914 B · 39 lines · json Raw
1 {
2 "_name_or_path": "model-nsmc/model.pth",
3 "architectures": [
4 "ElectraForSequenceClassification"
5 ],
6 "attention_probs_dropout_prob": 0.1,
7 "classifier_dropout": null,
8 "embedding_size": 128,
9 "hidden_act": "gelu",
10 "hidden_dropout_prob": 0.1,
11 "hidden_size": 256,
12 "id2label": {
13 "0": "0",
14 "1": "1"
15 },
16 "initializer_range": 0.02,
17 "intermediate_size": 1024,
18 "label2id": {
19 "0": 0,
20 "1": 1
21 },
22 "layer_norm_eps": 1e-12,
23 "max_position_embeddings": 512,
24 "model_type": "electra",
25 "num_attention_heads": 4,
26 "num_hidden_layers": 12,
27 "pad_token_id": 0,
28 "position_embedding_type": "absolute",
29 "problem_type": "single_label_classification",
30 "summary_activation": "gelu",
31 "summary_last_dropout": 0.1,
32 "summary_type": "first",
33 "summary_use_proj": true,
34 "torch_dtype": "float32",
35 "transformers_version": "4.11.3",
36 "type_vocab_size": 2,
37 "vocab_size": 35000
38 }
39