LayoutLMModel: The LayoutLM model

LayoutLMModelR Documentation

The LayoutLM model

Description

The LayoutLM model was proposed in LayoutLM: Pre-training of Text and Layout for Document Image Understanding by Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei and Ming Zhou.

Usage

LayoutLMModel(config)

Arguments

config

list of all the parameters of the model. Initializing with a config file does not load the weights associated with the model, only the configuration

Details

This model is a torch nn_module(). Use it as a regular module and refer to the documentation for all matter related to general usage and behavior.

Value

a torch::nn_module() of class BaseModelOutputWithPoolingAndCrossAttentions


cregouby/docformer documentation built on May 27, 2023, 11:19 p.m.