LILT / config.json
Besrour's picture
Upload 3 files
749fc04 verified
{
"_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": "S-NUM\u00c9RO FACTURE",
"1": "E-PAGE NUMBER",
"2": "S-SOCIETE",
"3": "B-CLIENT",
"4": "I-NUM\u00c9RO FACTURE",
"5": "S-INVOICEDATE",
"6": "O",
"7": "E-TOTALAMOUNT",
"8": "I-INVOICEDATE",
"9": "E-TVA",
"10": "I-SOCIETE",
"11": "I-TVA",
"12": "B-NUM\u00c9RO FACTURE",
"13": "I-CLIENT",
"14": "I-PAGE NUMBER",
"15": "B-INVOICEDATE",
"16": "S-TVA",
"17": "B-SOCIETE",
"18": "S-TOTALAMOUNT",
"19": "I-TOTALAMOUNT",
"20": "E-CLIENT",
"21": "B-PAGE NUMBER",
"22": "E-NUM\u00c9RO FACTURE",
"23": "S-CLIENT",
"24": "E-SOCIETE",
"25": "S-DEVISE",
"26": "B-TOTALAMOUNT",
"27": "E-INVOICEDATE",
"28": "B-TVA"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-CLIENT": 3,
"B-INVOICEDATE": 15,
"B-NUM\u00c9RO FACTURE": 12,
"B-PAGE NUMBER": 21,
"B-SOCIETE": 17,
"B-TOTALAMOUNT": 26,
"B-TVA": 28,
"E-CLIENT": 20,
"E-INVOICEDATE": 27,
"E-NUM\u00c9RO FACTURE": 22,
"E-PAGE NUMBER": 1,
"E-SOCIETE": 24,
"E-TOTALAMOUNT": 7,
"E-TVA": 9,
"I-CLIENT": 13,
"I-INVOICEDATE": 8,
"I-NUM\u00c9RO FACTURE": 4,
"I-PAGE NUMBER": 14,
"I-SOCIETE": 10,
"I-TOTALAMOUNT": 19,
"I-TVA": 11,
"O": 6,
"S-CLIENT": 23,
"S-DEVISE": 25,
"S-INVOICEDATE": 5,
"S-NUM\u00c9RO FACTURE": 0,
"S-SOCIETE": 2,
"S-TOTALAMOUNT": 18,
"S-TVA": 16
},
"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.39.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}