Instructions to use hf-tiny-model-private/tiny-random-XLNetForTokenClassification 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-XLNetForTokenClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hf-tiny-model-private/tiny-random-XLNetForTokenClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-XLNetForTokenClassification") model = AutoModelForTokenClassification.from_pretrained("hf-tiny-model-private/tiny-random-XLNetForTokenClassification") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
113428a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6a05dda959527dee9c6a028ddd9ab73c2e3005d8d977a6682cde41318e3e8cb6
size 4459104
|