Instructions to use hf-internal-testing/tiny-random-LayoutLMv2Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-LayoutLMv2Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-LayoutLMv2Model")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-LayoutLMv2Model") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-LayoutLMv2Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-LayoutLMv2Model: direct link, hf CLI and curl.
- Browser
- Download file 59.9 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-LayoutLMv2Model/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-LayoutLMv2Model@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-LayoutLMv2Model/resolve/refs%2Fpr%2F1/model.safetensors
59.9 MB
- Xet hash:
- d649b1862703169fd9bc8724fc9c463e9ef4b797a83b3b56da5321de131b1918
- Size of remote file:
- 59.9 MB
- SHA256:
- 39685feb5dbb1bd4310387d524c73d9dfb2bc02e3215a2cf375fda62aabf9125
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.