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