Hey! Considering this:

  
      github.com
  
  
    microsoft/unilm/blob/master/layoutlm/layoutlm/modeling/layoutlm.py 68
import logging

import torch
from torch import nn
from torch.nn import CrossEntropyLoss, MSELoss
from transformers import BertConfig, BertModel, BertPreTrainedModel
from transformers.modeling_bert import BertLayerNorm

logger = logging.getLogger(__name__)

LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_MAP = {}

LAYOUTLM_PRETRAINED_CONFIG_ARCHIVE_MAP = {}


class LayoutlmConfig(BertConfig):
    pretrained_config_archive_map = LAYOUTLM_PRETRAINED_CONFIG_ARCHIVE_MAP
    model_type = "bert"

    def __init__(self, max_2d_position_embeddings=1024, **kwargs):


  This file has been truncated. show original

  
  
    
    
  
  


Should I use on of these?
src https://github.com/microsoft/unilm/tree/master/layoutlm/layoutlm 17