Instructions to use hf-tiny-model-private/tiny-random-LayoutLMForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-LayoutLMForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-tiny-model-private/tiny-random-LayoutLMForSequenceClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-LayoutLMForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-tiny-model-private/tiny-random-LayoutLMForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
bc3165b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:45f1e773bcde99ce3d497d96a26bceb090d2607500ae6e3fe2ff382e87753d0a
size 1011136
|