{ | |
"_name_or_path": "KB/bert-base-swedish-cased", | |
"architectures": [ | |
"BertForTokenClassification" | |
], | |
"attention_probs_dropout_prob": 0.1, | |
"finetuning_task": "ner", | |
"gradient_checkpointing": false, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.1, | |
"hidden_size": 768, | |
"_num_labels": 15, | |
"id2label": { | |
"0": "B-LOC", | |
"1": "B-NAT", | |
"2": "B-ORG", | |
"3": "B-PER", | |
"4": "B-PRO", | |
"5": "B-REL", | |
"6": "B-TIT", | |
"7": "I-LOC", | |
"8": "I-NAT", | |
"9": "I-ORG", | |
"10": "I-PER", | |
"11": "I-PRO", | |
"12": "I-REL", | |
"13": "I-TIT", | |
"14": "O" | |
}, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"B-LOC": 0, | |
"B-NAT": 1, | |
"B-ORG": 2, | |
"B-PER": 3, | |
"B-PRO": 4, | |
"B-REL": 5, | |
"B-TIT": 6, | |
"I-LOC": 7, | |
"I-NAT": 8, | |
"I-ORG": 9, | |
"I-PER": 10, | |
"I-PRO": 11, | |
"I-REL": 12, | |
"I-TIT": 13, | |
"O": 14}, | |
"layer_norm_eps": 1e-12, | |
"max_position_embeddings": 512, | |
"model_type": "bert", | |
"num_attention_heads": 12, | |
"num_hidden_layers": 12, | |
"output_past": true, | |
"pad_token_id": 0, | |
"position_embedding_type": "absolute", | |
"transformers_version": "4.5.1", | |
"type_vocab_size": 2, | |
"use_cache": true, | |
"vocab_size": 50325 | |
} | |