DocBankOptions

Options & Configuration · AiDotNet.Document.Options

Configuration options for the DocBank document model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DocumentNeuralNetworkOptions → DocBankOptions

For Beginners

DocBank labels the regions of a scanned page — which part is a heading, a paragraph, a table, a figure and so on. The values here are the ones it ships with.

Constructors

Constructor Summary
DocBankOptions() Initializes a new instance carrying the model’s published defaults.

Properties

Property Summary
LayoutLMOptions TokenClassifierOptions { get; set; } Gets or sets the configuration of the LayoutLM token classifier DocBank’s baselines use (Li et al.
bool UseTextFeatures { get; set; } Gets or sets whether the model consumes per-token text features alongside the image.
double? LearningRate { get; set; } Gets or sets a learning rate that overrides the paper’s training recipe.