lilt_v6 / config.json
Besrour's picture
Upload config.json with huggingface_hub
52fc161 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": "I-CLIENT",
"1": "I-SOCIETE",
"2": "S-DEVISE",
"3": "S-TOTALAMOUNT",
"4": "I-PAGE NUMBER",
"5": "S-TVA",
"6": "B-CLIENT",
"7": "B-NUM\u00c9RO FACTURE",
"8": "B-PAGE NUMBER",
"9": "I-TOTALHT",
"10": "E-NUM\u00c9RO FACTURE",
"11": "I-NUM\u00c9RO FACTURE",
"12": "B-TOTALHT",
"13": "B-TVA",
"14": "B-INVOICEDATE",
"15": "E-TOTALAMOUNT",
"16": "E-INVOICEDATE",
"17": "O",
"18": "B-SOCIETE",
"19": "E-TVA",
"20": "E-SOCIETE",
"21": "B-TOTALAMOUNT",
"22": "S-NUM\u00c9RO FACTURE",
"23": "S-CLIENT",
"24": "I-TOTALAMOUNT",
"25": "E-TOTALHT",
"26": "S-SOCIETE",
"27": "S-TOTALHT",
"28": "S-INVOICEDATE",
"29": "E-PAGE NUMBER",
"30": "E-CLIENT",
"31": "I-INVOICEDATE",
"32": "I-TVA"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-CLIENT": 6,
"B-INVOICEDATE": 14,
"B-NUM\u00c9RO FACTURE": 7,
"B-PAGE NUMBER": 8,
"B-SOCIETE": 18,
"B-TOTALAMOUNT": 21,
"B-TOTALHT": 12,
"B-TVA": 13,
"E-CLIENT": 30,
"E-INVOICEDATE": 16,
"E-NUM\u00c9RO FACTURE": 10,
"E-PAGE NUMBER": 29,
"E-SOCIETE": 20,
"E-TOTALAMOUNT": 15,
"E-TOTALHT": 25,
"E-TVA": 19,
"I-CLIENT": 0,
"I-INVOICEDATE": 31,
"I-NUM\u00c9RO FACTURE": 11,
"I-PAGE NUMBER": 4,
"I-SOCIETE": 1,
"I-TOTALAMOUNT": 24,
"I-TOTALHT": 9,
"I-TVA": 32,
"O": 17,
"S-CLIENT": 23,
"S-DEVISE": 2,
"S-INVOICEDATE": 28,
"S-NUM\u00c9RO FACTURE": 22,
"S-SOCIETE": 26,
"S-TOTALAMOUNT": 3,
"S-TOTALHT": 27,
"S-TVA": 5
},
"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
}