test_lilt / config.json
adityaprakhar's picture
Upload LiltForTokenClassification
6c4802f verified
raw
history blame
1.58 kB
{
"_name_or_path": "SCUT-DLVCLab/lilt-roberta-en-base",
"architectures": [
"LiltForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"channel_shrink_ratio": 4,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-ADDRESS",
"1": "B-ATTORNEY",
"2": "B-ATTORNEY_FOR",
"3": "B-EMAIL",
"4": "B-FAX",
"5": "B-LAWFIRM",
"6": "B-PARTY",
"7": "B-PHONE",
"8": "B-SBN",
"9": "I-ADDRESS",
"10": "I-ATTORNEY",
"11": "I-ATTORNEY_FOR",
"12": "I-EMAIL",
"13": "I-FAX",
"14": "I-LAWFIRM",
"15": "I-PARTY",
"16": "I-PHONE",
"17": "I-SBN",
"18": "OTHER"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-ADDRESS": 0,
"B-ATTORNEY": 1,
"B-ATTORNEY_FOR": 2,
"B-EMAIL": 3,
"B-FAX": 4,
"B-LAWFIRM": 5,
"B-PARTY": 6,
"B-PHONE": 7,
"B-SBN": 8,
"I-ADDRESS": 9,
"I-ATTORNEY": 10,
"I-ATTORNEY_FOR": 11,
"I-EMAIL": 12,
"I-FAX": 13,
"I-LAWFIRM": 14,
"I-PARTY": 15,
"I-PHONE": 16,
"I-SBN": 17,
"OTHER": 18
},
"layer_norm_eps": 1e-05,
"max_2d_position_embeddings": 1024,
"max_position_embeddings": 514,
"model_type": "lilt",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.38.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}