ocr / config.json
Dewa's picture
Training in progress, epoch 1
19b5a70 verified
raw
history blame
1.76 kB
{
"_name_or_path": "microsoft/layoutlm-base-uncased",
"architectures": [
"LayoutLMForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "OTHER",
"1": "ssnOfEmployee",
"2": "einEmployerIdentificationNumber",
"3": "box1WagesTipsAndOtherCompensations",
"4": "box2FederalIncomeTaxWithheld",
"5": "employerName",
"6": "box3SocialSecurityWages",
"7": "box4SocialSecurityTaxWithheld",
"8": "employerAddressStreet_name",
"9": "employerAddressCity",
"10": "employerAddressState",
"11": "employerAddressZip",
"12": "employeeName",
"13": "taxYear",
"14": "box16StateWagesTips",
"15": "box17StateIncomeTax"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"OTHER": 0,
"box16StateWagesTips": 14,
"box17StateIncomeTax": 15,
"box1WagesTipsAndOtherCompensations": 3,
"box2FederalIncomeTaxWithheld": 4,
"box3SocialSecurityWages": 6,
"box4SocialSecurityTaxWithheld": 7,
"einEmployerIdentificationNumber": 2,
"employeeName": 12,
"employerAddressCity": 9,
"employerAddressState": 10,
"employerAddressStreet_name": 8,
"employerAddressZip": 11,
"employerName": 5,
"ssnOfEmployee": 1,
"taxYear": 13
},
"layer_norm_eps": 1e-12,
"max_2d_position_embeddings": 1024,
"max_position_embeddings": 512,
"model_type": "layoutlm",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.44.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}