|
{ |
|
"architectures": [ |
|
"ElectraForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"embedding_size": 128, |
|
"generator_size": "0.25", |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 256, |
|
"id2label": { |
|
"0": "B-PER", |
|
"1": "I-PER", |
|
"2": "B-LOC", |
|
"3": "I-LOC", |
|
"4": "B-ORG", |
|
"5": "I-ORG", |
|
"6": "O", |
|
"7": "[PAD]", |
|
"8": "[CLS]", |
|
"9": "[SEP]" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 1024, |
|
"label2id": { |
|
"B-PER": 0, |
|
"I-PER": 1, |
|
"B-LOC": 2, |
|
"I-LOC": 3, |
|
"B-ORG": 4, |
|
"I-ORG": 5, |
|
"O": 6, |
|
"[PAD]": 7, |
|
"[CLS]": 8, |
|
"[SEP]": 9 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "electra", |
|
"num_attention_heads": 4, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 0, |
|
"summary_activation": "gelu", |
|
"summary_last_dropout": 0.1, |
|
"summary_type": "first", |
|
"summary_use_proj": true, |
|
"type_vocab_size": 2, |
|
"vocab_size": 32000 |
|
} |
|
|