|
{ |
|
"_num_labels": 36, |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.4, |
|
"bad_words_ids": null, |
|
"bos_token_id": null, |
|
"decoder_start_token_id": null, |
|
"do_sample": false, |
|
"early_stopping": false, |
|
"eos_token_id": null, |
|
"finetuning_task": null, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.4, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "B-CARDINAL", |
|
"1": "B-DATE", |
|
"2": "B-EVENT", |
|
"3": "B-FAC", |
|
"4": "B-GPE", |
|
"5": "B-LANGUAGE", |
|
"6": "B-LAW", |
|
"7": "B-LOC", |
|
"8": "B-MONEY", |
|
"9": "B-NORP", |
|
"10": "B-ORDINAL", |
|
"11": "B-ORG", |
|
"12": "B-PERCENT", |
|
"13": "B-PERSON", |
|
"14": "B-PRODUCT", |
|
"15": "B-QUANTITY", |
|
"16": "B-TIME", |
|
"17": "B-WORK_OF_ART", |
|
"18": "I-CARDINAL", |
|
"19": "I-DATE", |
|
"20": "I-EVENT", |
|
"21": "I-FAC", |
|
"22": "I-GPE", |
|
"23": "I-LANGUAGE", |
|
"24": "I-LAW", |
|
"25": "I-LOC", |
|
"26": "I-MONEY", |
|
"27": "I-NORP", |
|
"28": "I-ORG", |
|
"29": "I-PERCENT", |
|
"30": "I-PERSON", |
|
"31": "I-PRODUCT", |
|
"32": "I-QUANTITY", |
|
"33": "I-TIME", |
|
"34": "I-WORK_OF_ART", |
|
"35": "O" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"is_decoder": false, |
|
"is_encoder_decoder": false, |
|
"label2id": { |
|
"B-CARDINAL": 0, |
|
"B-DATE": 1, |
|
"B-EVENT": 2, |
|
"B-FAC": 3, |
|
"B-GPE": 4, |
|
"B-LANGUAGE": 5, |
|
"B-LAW": 6, |
|
"B-LOC": 7, |
|
"B-MONEY": 8, |
|
"B-NORP": 9, |
|
"B-ORDINAL": 10, |
|
"B-ORG": 11, |
|
"B-PERCENT": 12, |
|
"B-PERSON": 13, |
|
"B-PRODUCT": 14, |
|
"B-QUANTITY": 15, |
|
"B-TIME": 16, |
|
"B-WORK_OF_ART": 17, |
|
"I-CARDINAL": 18, |
|
"I-DATE": 19, |
|
"I-EVENT": 20, |
|
"I-FAC": 21, |
|
"I-GPE": 22, |
|
"I-LANGUAGE": 23, |
|
"I-LAW": 24, |
|
"I-LOC": 25, |
|
"I-MONEY": 26, |
|
"I-NORP": 27, |
|
"I-ORG": 28, |
|
"I-PERCENT": 29, |
|
"I-PERSON": 30, |
|
"I-PRODUCT": 31, |
|
"I-QUANTITY": 32, |
|
"I-TIME": 33, |
|
"I-WORK_OF_ART": 34, |
|
"O": 35 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"length_penalty": 1.0, |
|
"max_length": 20, |
|
"max_position_embeddings": 512, |
|
"min_length": 0, |
|
"model_type": "bert", |
|
"no_repeat_ngram_size": 0, |
|
"num_attention_heads": 12, |
|
"num_beams": 1, |
|
"num_hidden_layers": 12, |
|
"num_return_sequences": 1, |
|
"output_attentions": false, |
|
"output_hidden_states": false, |
|
"output_past": true, |
|
"pad_token_id": 0, |
|
"prefix": null, |
|
"pruned_heads": {}, |
|
"repetition_penalty": 1.0, |
|
"task_specific_params": null, |
|
"temperature": 1.0, |
|
"top_k": 50, |
|
"top_p": 1.0, |
|
"torchscript": false, |
|
"type_vocab_size": 2, |
|
"use_bfloat16": false, |
|
"vocab_size": 30000 |
|
} |
|
|