| { |
| "_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": "O", |
| "1": "B-address", |
| "2": "B-annual_kwh_consumption", |
| "3": "B-contract_expiration", |
| "4": "B-invoice_price", |
| "5": "B-iva_tax", |
| "6": "B-name", |
| "7": "B-reference_period", |
| "8": "E-address", |
| "9": "E-annual_kwh_consumption", |
| "10": "E-contract_expiration", |
| "11": "E-invoice_price", |
| "12": "E-iva_tax", |
| "13": "E-name", |
| "14": "E-reference_period", |
| "15": "I-address", |
| "16": "I-contract_expiration", |
| "17": "I-invoice_price", |
| "18": "I-name", |
| "19": "I-reference_period", |
| "20": "S-annual_kwh_consumption", |
| "21": "S-annual_smc_consumption", |
| "22": "S-contract_expiration", |
| "23": "S-invoice_price", |
| "24": "S-iva_tax", |
| "25": "S-monthly_kwh_consumption", |
| "26": "S-monthly_smc_consumption", |
| "27": "S-name", |
| "28": "S-partita_iva", |
| "29": "S-rai", |
| "30": "S-reference_period" |
| }, |
| "initializer_range": 0.02, |
| "input_size": 224, |
| "intermediate_size": 3072, |
| "label2id": { |
| "B-address": 1, |
| "B-annual_kwh_consumption": 2, |
| "B-contract_expiration": 3, |
| "B-invoice_price": 4, |
| "B-iva_tax": 5, |
| "B-name": 6, |
| "B-reference_period": 7, |
| "E-address": 8, |
| "E-annual_kwh_consumption": 9, |
| "E-contract_expiration": 10, |
| "E-invoice_price": 11, |
| "E-iva_tax": 12, |
| "E-name": 13, |
| "E-reference_period": 14, |
| "I-address": 15, |
| "I-contract_expiration": 16, |
| "I-invoice_price": 17, |
| "I-name": 18, |
| "I-reference_period": 19, |
| "O": 0, |
| "S-annual_kwh_consumption": 20, |
| "S-annual_smc_consumption": 21, |
| "S-contract_expiration": 22, |
| "S-invoice_price": 23, |
| "S-iva_tax": 24, |
| "S-monthly_kwh_consumption": 25, |
| "S-monthly_smc_consumption": 26, |
| "S-name": 27, |
| "S-partita_iva": 28, |
| "S-rai": 29, |
| "S-reference_period": 30 |
| }, |
| "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.40.1", |
| "type_vocab_size": 1, |
| "visual_embed": true, |
| "vocab_size": 50265 |
| } |
|
|