invoice-extract / config.json
OTHMAN4AI's picture
Upload folder using huggingface_hub
2867904 verified
{
"architectures": [
"UdopForTokenClassification"
],
"d_ff": 4096,
"d_kv": 64,
"d_model": 1024,
"dense_act_fn": "relu",
"dropout_rate": 0.1,
"eos_token_id": 1,
"feed_forward_proj": "relu",
"id2label": {
"0": "O",
"1": "numero facture",
"2": "date facture",
"3": "date limite",
"4": "montant ht",
"5": "montant ttc",
"6": "tva",
"7": "prix tva",
"8": "reference",
"9": "Devise",
"10": "Condition de paiement",
"11": "Mode de paiement",
"12": "vendeur",
"13": "adresse vendeur",
"14": "informations vendeur",
"15": "ice vendeur",
"16": "rc vendeur",
"17": "if vendeur",
"18": "patente vendeur",
"19": "acheteur",
"20": "adresse acheteur",
"21": "informations acheteur",
"22": "ice acheteur",
"23": "art1 Article",
"24": "art1 designation",
"25": "art1 quantite",
"26": "art1 unite",
"27": "art1 prix unit",
"28": "art1 montant ht",
"29": "art1 taux de remise",
"30": "art1 tva",
"31": "art2 Article",
"32": "art2 designation",
"33": "art2 quantite",
"34": "art2 unite",
"35": "art2 prix unit",
"36": "art2 montant ht",
"37": "art2 taux de remise",
"38": "art2 tva",
"39": "art3 Article",
"40": "art3 designation",
"41": "art3 quantite",
"42": "art3 unite",
"43": "art3 prix unit",
"44": "art3 montant ht",
"45": "art3 taux de remise",
"46": "art3 tva",
"47": "art4 Article",
"48": "art4 designation",
"49": "art4 quantite",
"50": "art4 unite",
"51": "art4 prix unit",
"52": "art4 montant ht",
"53": "art4 taux de remise",
"54": "art4 tva",
"55": "art5 Article",
"56": "art5 designation",
"57": "art5 quantite",
"58": "art5 unite",
"59": "art5 prix unit",
"60": "art5 montant ht",
"61": "art5 taux de remise",
"62": "art5 tva",
"63": "art6 Article",
"64": "art6 designation",
"65": "art6 quantite",
"66": "art6 unite",
"67": "art6 prix unit",
"68": "art6 montant ht",
"69": "art6 taux de remise",
"70": "art6 tva",
"71": "art7 Article",
"72": "art7 designation",
"73": "art7 quantite",
"74": "art7 unite",
"75": "art7 prix unit",
"76": "art7 montant ht",
"77": "art7 taux de remise",
"78": "art7 tva",
"79": "art8 Article",
"80": "art8 designation",
"81": "art8 quantite",
"82": "art8 unite",
"83": "art8 prix unit",
"84": "art8 montant ht",
"85": "art8 taux de remise",
"86": "art8 tva",
"87": "art9 Article",
"88": "art9 designation",
"89": "art9 quantite",
"90": "art9 unite",
"91": "art9 prix unit",
"92": "art9 montant ht",
"93": "art9 taux de remise",
"94": "art9 tva",
"95": "art10 Article",
"96": "art10 designation",
"97": "art10 quantite",
"98": "art10 unite",
"99": "art10 prix unit",
"100": "art10 montant ht",
"101": "art10 taux de remise",
"102": "art10 tva",
"103": "art11 Article",
"104": "art11 designation",
"105": "art11 quantite",
"106": "art11 unite",
"107": "art11 prix unit",
"108": "art11 montant ht",
"109": "art11 taux de remise",
"110": "art11 tva",
"111": "art12 Article",
"112": "art12 designation",
"113": "art12 quantite",
"114": "art12 unite",
"115": "art12 prix unit",
"116": "art12 montant ht",
"117": "art12 taux de remise",
"118": "art12 tva",
"119": "art13 Article",
"120": "art13 designation",
"121": "art13 quantite",
"122": "art13 unite",
"123": "art13 prix unit",
"124": "art13 montant ht",
"125": "art13 taux de remise",
"126": "art13 tva",
"127": "art14 Article",
"128": "art14 designation",
"129": "art14 quantite",
"130": "art14 unite",
"131": "art14 prix unit",
"132": "art14 montant ht",
"133": "art14 taux de remise",
"134": "art14 tva"
},
"image_size": 224,
"initializer_factor": 1.0,
"is_encoder_decoder": true,
"is_gated_act": false,
"label2id": {
"Condition de paiement": 10,
"Devise": 9,
"Mode de paiement": 11,
"O": 0,
"acheteur": 19,
"adresse acheteur": 20,
"adresse vendeur": 13,
"art1 Article": 23,
"art1 designation": 24,
"art1 montant ht": 28,
"art1 prix unit": 27,
"art1 quantite": 25,
"art1 taux de remise": 29,
"art1 tva": 30,
"art1 unite": 26,
"art10 Article": 95,
"art10 designation": 96,
"art10 montant ht": 100,
"art10 prix unit": 99,
"art10 quantite": 97,
"art10 taux de remise": 101,
"art10 tva": 102,
"art10 unite": 98,
"art11 Article": 103,
"art11 designation": 104,
"art11 montant ht": 108,
"art11 prix unit": 107,
"art11 quantite": 105,
"art11 taux de remise": 109,
"art11 tva": 110,
"art11 unite": 106,
"art12 Article": 111,
"art12 designation": 112,
"art12 montant ht": 116,
"art12 prix unit": 115,
"art12 quantite": 113,
"art12 taux de remise": 117,
"art12 tva": 118,
"art12 unite": 114,
"art13 Article": 119,
"art13 designation": 120,
"art13 montant ht": 124,
"art13 prix unit": 123,
"art13 quantite": 121,
"art13 taux de remise": 125,
"art13 tva": 126,
"art13 unite": 122,
"art14 Article": 127,
"art14 designation": 128,
"art14 montant ht": 132,
"art14 prix unit": 131,
"art14 quantite": 129,
"art14 taux de remise": 133,
"art14 tva": 134,
"art14 unite": 130,
"art2 Article": 31,
"art2 designation": 32,
"art2 montant ht": 36,
"art2 prix unit": 35,
"art2 quantite": 33,
"art2 taux de remise": 37,
"art2 tva": 38,
"art2 unite": 34,
"art3 Article": 39,
"art3 designation": 40,
"art3 montant ht": 44,
"art3 prix unit": 43,
"art3 quantite": 41,
"art3 taux de remise": 45,
"art3 tva": 46,
"art3 unite": 42,
"art4 Article": 47,
"art4 designation": 48,
"art4 montant ht": 52,
"art4 prix unit": 51,
"art4 quantite": 49,
"art4 taux de remise": 53,
"art4 tva": 54,
"art4 unite": 50,
"art5 Article": 55,
"art5 designation": 56,
"art5 montant ht": 60,
"art5 prix unit": 59,
"art5 quantite": 57,
"art5 taux de remise": 61,
"art5 tva": 62,
"art5 unite": 58,
"art6 Article": 63,
"art6 designation": 64,
"art6 montant ht": 68,
"art6 prix unit": 67,
"art6 quantite": 65,
"art6 taux de remise": 69,
"art6 tva": 70,
"art6 unite": 66,
"art7 Article": 71,
"art7 designation": 72,
"art7 montant ht": 76,
"art7 prix unit": 75,
"art7 quantite": 73,
"art7 taux de remise": 77,
"art7 tva": 78,
"art7 unite": 74,
"art8 Article": 79,
"art8 designation": 80,
"art8 montant ht": 84,
"art8 prix unit": 83,
"art8 quantite": 81,
"art8 taux de remise": 85,
"art8 tva": 86,
"art8 unite": 82,
"art9 Article": 87,
"art9 designation": 88,
"art9 montant ht": 92,
"art9 prix unit": 91,
"art9 quantite": 89,
"art9 taux de remise": 93,
"art9 tva": 94,
"art9 unite": 90,
"date facture": 2,
"date limite": 3,
"ice acheteur": 22,
"ice vendeur": 15,
"if vendeur": 17,
"informations acheteur": 21,
"informations vendeur": 14,
"montant ht": 4,
"montant ttc": 5,
"numero facture": 1,
"patente vendeur": 18,
"prix tva": 7,
"rc vendeur": 16,
"reference": 8,
"tva": 6,
"vendeur": 12
},
"layer_norm_epsilon": 1e-06,
"max_2d_position_embeddings": 1024,
"model_type": "udop",
"num_channels": 3,
"num_decoder_layers": 24,
"num_heads": 16,
"num_layers": 24,
"pad_token_id": 0,
"patch_size": 16,
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"relative_bias_args": [
{
"type": "1d"
},
{
"type": "horizontal"
},
{
"type": "vertical"
}
],
"torch_dtype": "float32",
"transformers_version": "4.42.3",
"use_cache": true,
"vocab_size": 33201
}