Instructions to use hf-internal-testing/tiny-random-MarkupLMForTokenClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MarkupLMForTokenClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hf-internal-testing/tiny-random-MarkupLMForTokenClassification")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-MarkupLMForTokenClassification") model = AutoModelForTokenClassification.from_pretrained("hf-internal-testing/tiny-random-MarkupLMForTokenClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
b9f924e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:afe9722d85c14ac081b35c0d25f69f77fc0857269a7bd0ac67da1acc5447157a
size 6965333
|