Instructions to use hf-internal-testing/tiny-layoutlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-layoutlm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hf-internal-testing/tiny-layoutlm")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-layoutlm") model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-layoutlm") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
d2ad0ab | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:385846e7fe0ab3bdfe5f141c5f01354d67cb1015d2f3b14f7cd259dd289e93bf
size 873984
|