Instructions to use BDomantas/layoutxlm-base-tune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BDomantas/layoutxlm-base-tune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="BDomantas/layoutxlm-base-tune")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("BDomantas/layoutxlm-base-tune") model = AutoModelForTokenClassification.from_pretrained("BDomantas/layoutxlm-base-tune") - Notebooks
- Google Colab
- Kaggle
layoutxlm-base-tune
This model is a fine-tuned version of microsoft/layoutxlm-base on the xfun dataset.
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- training_steps: 1000
Training results
Framework versions
- Transformers 4.39.3
- Pytorch 2.4.0.dev20240403
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 5
Model tree for BDomantas/layoutxlm-base-tune
Base model
microsoft/layoutxlm-base