nb-bert-base-pos / config.json
versae's picture
Upload folder using huggingface_hub
e8d7deb verified
raw
history blame
1.48 kB
{
"_name_or_path": "NbAiLab/nb-bert-base",
"_num_labels": 17,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"directionality": "bidi",
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "NOUN",
"1": "PUNCT",
"2": "ADP",
"3": "NUM",
"4": "SYM",
"5": "SCONJ",
"6": "ADJ",
"7": "PART",
"8": "DET",
"9": "CCONJ",
"10": "PROPN",
"11": "PRON",
"12": "X",
"13": "ADV",
"14": "INTJ",
"15": "VERB",
"16": "AUX"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"ADJ": 6,
"ADP": 2,
"ADV": 13,
"AUX": 16,
"CCONJ": 9,
"DET": 8,
"INTJ": 14,
"NOUN": 0,
"NUM": 3,
"PART": 7,
"PRON": 11,
"PROPN": 10,
"PUNCT": 1,
"SCONJ": 5,
"SYM": 4,
"VERB": 15,
"X": 12
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.45.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 119547
}