Run this model with HF Jobs
Run microsoft/layoutlm-large-uncased on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/microsoft/layoutlm-large-uncased. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/microsoft/layoutlm-large-uncased on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use microsoft/layoutlm-large-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/layoutlm-large-uncased with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/layoutlm-large-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files9 unmodified lines1011121314155 unmodified lines212223249 unmodified lines"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"max_2d_position_embeddings": 1024,"num_attention_heads": 16,"num_hidden_layers": 24,"num_labels": 2,5 unmodified lines"type_vocab_size": 2,"use_bfloat16": false,"vocab_size": 30522}9 unmodified lines101112131415165 unmodified lines222324259 unmodified lines"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"max_2d_position_embeddings": 1024,"model_type": "bert","num_attention_heads": 16,"num_hidden_layers": 24,"num_labels": 2,5 unmodified lines"type_vocab_size": 2,"use_bfloat16": false,"vocab_size": 30522}
config.json+2-1