Model1.0 / config.json
Jyotiyadav's picture
Training in progress, step 500
0331a19 verified
raw
history blame
5.46 kB
{
"_name_or_path": "microsoft/layoutlmv3-base",
"architectures": [
"LayoutLMv3ForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"coordinate_size": 128,
"eos_token_id": 2,
"has_relative_attention_bias": true,
"has_spatial_attention_bias": true,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "others",
"1": "issuer_name",
"2": "payment_term",
"3": "seal",
"4": "container_nr",
"5": "shipment_nr",
"6": "eta",
"7": "etd",
"8": "pod",
"9": "pol",
"10": "seller_name",
"11": "shipper_name",
"12": "seller_address",
"13": "seller_zipcode",
"14": "seller_city",
"15": "seller_state",
"16": "seller_tel",
"17": "seller_fax",
"18": "seller_email",
"19": "seller_id",
"20": "seller_vat",
"21": "customer_name",
"22": "customer_address",
"23": "customer_zipcode",
"24": "customer_city",
"25": "customer_state",
"26": "customer_tel",
"27": "customer_vat",
"28": "customer_eori",
"29": "invoicing_name",
"30": "invoicing_address",
"31": "invoicing_zipcode",
"32": "invoicing_city",
"33": "invoicing_state",
"34": "invoicing_contact",
"35": "payment_condition",
"36": "payment_bank",
"37": "payment_iban",
"38": "payment_swift",
"39": "doc_type",
"40": "doc_date",
"41": "doc_num",
"42": "transport_means",
"43": "transport_fwd",
"44": "transport_term",
"45": "transport_reason",
"46": "packing_nr",
"47": "delivery_note",
"48": "delivery_note_date",
"49": "shipping_batch",
"50": "shipping_batch_date",
"51": "order_nr",
"52": "ref_nr",
"53": "detail_code",
"54": "detail_desc",
"55": "detail_qty_um",
"56": "detail_qty",
"57": "detail_ppu",
"58": "detail_value",
"59": "detail_tax",
"60": "detail_discount",
"61": "detail_grossw",
"62": "detail_netw",
"63": "detail_packnr",
"64": "detail_marks",
"65": "ddt_nr",
"66": "ddt_date",
"67": "hs_codes",
"68": "total_netw",
"69": "total_grossw",
"70": "total_qty",
"71": "total_value",
"72": "due_date",
"73": "due_amount",
"74": "exchange_rate",
"75": "euro_amount",
"76": "currency",
"77": "total_amount",
"78": "total_discount",
"79": "issuer_signature",
"80": "vatable_amount",
"81": "vat_amount",
"82": "roundoff",
"83": "other_charges",
"84": "transport_date",
"85": "transport_hour",
"86": "packaging",
"87": "notes",
"88": "transport_charges",
"89": "packing_charges"
},
"initializer_range": 0.02,
"input_size": 224,
"intermediate_size": 3072,
"label2id": {
"container_nr": 4,
"currency": 76,
"customer_address": 22,
"customer_city": 24,
"customer_eori": 28,
"customer_name": 21,
"customer_state": 25,
"customer_tel": 26,
"customer_vat": 27,
"customer_zipcode": 23,
"ddt_date": 66,
"ddt_nr": 65,
"delivery_note": 47,
"delivery_note_date": 48,
"detail_code": 53,
"detail_desc": 54,
"detail_discount": 60,
"detail_grossw": 61,
"detail_marks": 64,
"detail_netw": 62,
"detail_packnr": 63,
"detail_ppu": 57,
"detail_qty": 56,
"detail_qty_um": 55,
"detail_tax": 59,
"detail_value": 58,
"doc_date": 40,
"doc_num": 41,
"doc_type": 39,
"due_amount": 73,
"due_date": 72,
"eta": 6,
"etd": 7,
"euro_amount": 75,
"exchange_rate": 74,
"hs_codes": 67,
"invoicing_address": 30,
"invoicing_city": 32,
"invoicing_contact": 34,
"invoicing_name": 29,
"invoicing_state": 33,
"invoicing_zipcode": 31,
"issuer_name": 1,
"issuer_signature": 79,
"notes": 87,
"order_nr": 51,
"other_charges": 83,
"others": 0,
"packaging": 86,
"packing_charges": 89,
"packing_nr": 46,
"payment_bank": 36,
"payment_condition": 35,
"payment_iban": 37,
"payment_swift": 38,
"payment_term": 2,
"pod": 8,
"pol": 9,
"ref_nr": 52,
"roundoff": 82,
"seal": 3,
"seller_address": 12,
"seller_city": 14,
"seller_email": 18,
"seller_fax": 17,
"seller_id": 19,
"seller_name": 10,
"seller_state": 15,
"seller_tel": 16,
"seller_vat": 20,
"seller_zipcode": 13,
"shipment_nr": 5,
"shipper_name": 11,
"shipping_batch": 49,
"shipping_batch_date": 50,
"total_amount": 77,
"total_discount": 78,
"total_grossw": 69,
"total_netw": 68,
"total_qty": 70,
"total_value": 71,
"transport_charges": 88,
"transport_date": 84,
"transport_fwd": 43,
"transport_hour": 85,
"transport_means": 42,
"transport_reason": 45,
"transport_term": 44,
"vat_amount": 81,
"vatable_amount": 80
},
"layer_norm_eps": 1e-05,
"max_2d_position_embeddings": 1024,
"max_position_embeddings": 514,
"max_rel_2d_pos": 256,
"max_rel_pos": 128,
"model_type": "layoutlmv3",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"pad_token_id": 1,
"patch_size": 16,
"rel_2d_pos_bins": 64,
"rel_pos_bins": 32,
"second_input_size": 112,
"shape_size": 128,
"text_embed": true,
"torch_dtype": "float32",
"transformers_version": "4.41.2",
"type_vocab_size": 1,
"visual_embed": true,
"vocab_size": 50265
}