gyr66's picture
Upload BertForTokenClassification
4728148
{
"_name_or_path": "./RoBERTa-finetuned-privacy-detection/checkpoint-3312",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"directionality": "bidi",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "O",
"1": "B-position",
"2": "I-position",
"3": "B-name",
"4": "I-name",
"5": "B-movie",
"6": "I-movie",
"7": "B-organization",
"8": "I-organization",
"9": "B-company",
"10": "I-company",
"11": "B-book",
"12": "I-book",
"13": "B-address",
"14": "I-address",
"15": "B-scene",
"16": "I-scene",
"17": "B-mobile",
"18": "I-mobile",
"19": "B-email",
"20": "I-email",
"21": "B-game",
"22": "I-game",
"23": "B-government",
"24": "I-government",
"25": "B-QQ",
"26": "I-QQ",
"27": "B-vx",
"28": "I-vx"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-QQ": "25",
"B-address": "13",
"B-book": "11",
"B-company": "9",
"B-email": "19",
"B-game": "21",
"B-government": "23",
"B-mobile": "17",
"B-movie": "5",
"B-name": "3",
"B-organization": "7",
"B-position": "1",
"B-scene": "15",
"B-vx": "27",
"I-QQ": "26",
"I-address": "14",
"I-book": "12",
"I-company": "10",
"I-email": "20",
"I-game": "22",
"I-government": "24",
"I-mobile": "18",
"I-movie": "6",
"I-name": "4",
"I-organization": "8",
"I-position": "2",
"I-scene": "16",
"I-vx": "28",
"O": "0"
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"output_past": true,
"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.27.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 21128
}