layoutlm-funsd / config.json
pratikstha's picture
Training in progress, epoch 1
a3fc89b
raw
history blame
2.15 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": "Basic Information___First Name",
"1": "Basic Information___Last Name",
"2": "Income___One_F",
"3": "Income___Three_B",
"4": "Income___Four_B",
"5": "Income___Five_B",
"6": "Income___Six_B",
"7": "Income___Eight",
"8": "Income___Nine",
"9": "Income___Eleven",
"10": "Income___Twelve",
"11": "Income___Fifteen",
"12": "Income___One_A",
"13": "Income___One_C",
"14": "Income___One_E",
"15": "Income___One_G",
"16": "Income___Seven",
"17": "Income___One_H",
"18": "Income___Ten",
"19": "Income___Thirteen",
"20": "Income___Two_B",
"21": "Income___Fourteen",
"22": "Income___One_D",
"23": "Income___One_Z",
"24": "Income___One_B"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Basic Information___First Name": 0,
"Basic Information___Last Name": 1,
"Income___Eight": 7,
"Income___Eleven": 9,
"Income___Fifteen": 11,
"Income___Five_B": 5,
"Income___Four_B": 4,
"Income___Fourteen": 21,
"Income___Nine": 8,
"Income___One_A": 12,
"Income___One_B": 24,
"Income___One_C": 13,
"Income___One_D": 22,
"Income___One_E": 14,
"Income___One_F": 2,
"Income___One_G": 15,
"Income___One_H": 17,
"Income___One_Z": 23,
"Income___Seven": 16,
"Income___Six_B": 6,
"Income___Ten": 18,
"Income___Thirteen": 19,
"Income___Three_B": 3,
"Income___Twelve": 10,
"Income___Two_B": 20
},
"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.35.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}