albertosei's picture
Upload folder using huggingface_hub
3401b8a verified
{
"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": "O",
"1": "B-vendor_name",
"2": "I-vendor_name",
"3": "B-vendor_address",
"4": "I-vendor_address",
"5": "B-vendor_phone_number",
"6": "I-vendor_phone_number",
"7": "B-date",
"8": "I-date",
"9": "B-time",
"10": "I-time",
"11": "B-receipt_id",
"12": "I-receipt_id",
"13": "B-currency",
"14": "I-currency",
"15": "B-total_amount",
"16": "I-total_amount",
"17": "B-subtotal_amount",
"18": "I-subtotal_amount",
"19": "B-tax_amount",
"20": "I-tax_amount",
"21": "B-service_charge_amount",
"22": "I-service_charge_amount",
"23": "B-discount_amount",
"24": "I-discount_amount",
"25": "B-tip_amount",
"26": "I-tip_amount",
"27": "B-cash_paid_amount",
"28": "I-cash_paid_amount",
"29": "B-change_amount",
"30": "I-change_amount",
"31": "B-credit_card_amount",
"32": "I-credit_card_amount",
"33": "B-e_money_amount",
"34": "I-e_money_amount",
"35": "B-payment_method",
"36": "I-payment_method",
"37": "B-line_item_name",
"38": "I-line_item_name",
"39": "B-line_item_quantity",
"40": "I-line_item_quantity",
"41": "B-line_item_unit_price",
"42": "I-line_item_unit_price",
"43": "B-line_item_total_price",
"44": "I-line_item_total_price",
"45": "B-line_item_discount_amount",
"46": "I-line_item_discount_amount",
"47": "B-line_item_vat_status",
"48": "I-line_item_vat_status",
"49": "B-other",
"50": "I-other"
},
"initializer_range": 0.02,
"input_size": 224,
"intermediate_size": 3072,
"label2id": {
"B-cash_paid_amount": 27,
"B-change_amount": 29,
"B-credit_card_amount": 31,
"B-currency": 13,
"B-date": 7,
"B-discount_amount": 23,
"B-e_money_amount": 33,
"B-line_item_discount_amount": 45,
"B-line_item_name": 37,
"B-line_item_quantity": 39,
"B-line_item_total_price": 43,
"B-line_item_unit_price": 41,
"B-line_item_vat_status": 47,
"B-other": 49,
"B-payment_method": 35,
"B-receipt_id": 11,
"B-service_charge_amount": 21,
"B-subtotal_amount": 17,
"B-tax_amount": 19,
"B-time": 9,
"B-tip_amount": 25,
"B-total_amount": 15,
"B-vendor_address": 3,
"B-vendor_name": 1,
"B-vendor_phone_number": 5,
"I-cash_paid_amount": 28,
"I-change_amount": 30,
"I-credit_card_amount": 32,
"I-currency": 14,
"I-date": 8,
"I-discount_amount": 24,
"I-e_money_amount": 34,
"I-line_item_discount_amount": 46,
"I-line_item_name": 38,
"I-line_item_quantity": 40,
"I-line_item_total_price": 44,
"I-line_item_unit_price": 42,
"I-line_item_vat_status": 48,
"I-other": 50,
"I-payment_method": 36,
"I-receipt_id": 12,
"I-service_charge_amount": 22,
"I-subtotal_amount": 18,
"I-tax_amount": 20,
"I-time": 10,
"I-tip_amount": 26,
"I-total_amount": 16,
"I-vendor_address": 4,
"I-vendor_name": 2,
"I-vendor_phone_number": 6,
"O": 0
},
"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.52.4",
"type_vocab_size": 1,
"use_cache": false,
"visual_embed": true,
"vocab_size": 50265
}